.htaccess to restrict people from accessing a directory

Here is an example of an .htaccess file that is used to restict access to a certain directory.

order deny,allow
allow from
deny from all

If you do not know what your IP address is go to http://www.whatismyip.com
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Website scan

Free website security scanhttp://sitecheck.sucuri.net/scanner/

Website Security Steps

Website Security An important and essential topic of discussion with any website is website...

Block an entire country from accessing your server

If you know you're never going to ship a product to China, Turkey or Iraq, for example, we...

Website Malware Scan


Virus scanner

TO SCAN YOUR ACCOUNT FOR MALICIOUS FILES:We highly recommend that you use the Virus Scanner tool...