Aug 17, 2009

Blocking Access to Folders



Apache server on the sites .htaccess file will do little to change the folder will block access to, and kept confidential.

Blocking access for full folders;

Write this c0de .htaccess file
~~~~~~~~~~~~~~~~~~~~
  1. #deny all access
  2. deny from all
~~~~~~~~~~~~~~~~~~~~~~~


Blocking access for ip adress ;
~~~~~~~~~~~~~~~~~~~~
  1. #deny all access
  2. deny from all
  3. allow from 85.101.22.45 # only one ip address
  4. allow from 85.101.22.12/80 # between the ip address

~~~~~~~~~~~~~~~~~~~~~~~~~~

0 Comments


Leave a Comment