Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Thursday, September 20, 2012

Allow or Block IPs Address - .htaccess Security


Hypertext Access, commonly shortened to htaccess, is a configuration file which controls the directory it is placed in and all the subdirectories underneath it. It's an incredibly useful feature which allows webmasters to control how many aspects of their website works. You can 301 redirect pages, change the extensions of pages, rewrite urls for better keyword ranking presence, password protect directories, Error 404 Document redirect and much much more. .htaccess provide security to allowing and blocking access to a web server from a IP address. Reasons for doing this include: 

  1. Denying persons from a specified country from your website. 
  2. Keeping a known hacker from accessing your website. 
  3. Allowing only your IP address to view your website. 
  4. Allowing only trusted persons into your website. 
  5. It could help in website development.
    <limit GET POST>
    order deny,allow
    deny from 202.57.377.22
    deny from 8.77.88.33
    allow from all
    </limit>

No comments:

Post a Comment