Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restricting access to admin through .htaccess
#3
Seems to work, I dropped an .htaccess into the admin directory and added this code:
Code:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Example Access Control"
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
allow from [insert IP Address]
</LIMIT>
I tried accessing it from my iphone and all I got was a "oops page not found" error, whereas, my pc was still able to access the directory. Of course, your IP address must be static and not dynamic. Also, I know I could change the name of the admin folder in the gsconfig.php file, however, this is a much better measure against someone brute forcing the admin login.
Todo arde si le aplicas la chispa adecuada.
Reply


Messages In This Thread
Restricting access to admin through .htaccess - by yurifanboy - 2012-02-06, 08:30:31



Users browsing this thread: 1 Guest(s)