11 Apr 2011, 8:58 AM
New Zenner
- Join Date:
- Jan 2011
- Posts:
- 26
- Plugin Contributions:
- 0
Extra admin security by changed .htaccess?
I have been thinking of adding extra security to the admin section.
What if I changed this part of the .htacces:
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
to
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from <MY-IP ADDRESS>
</FilesMatch>
In other words, only make the admin part accessible for myself from my own (fixed) IP-address.
Would my shop still function as it should for customers? Or would I wreck my shop?