Is it possible to prevent an htaccess file from being viewed in this manner:
<Files .htaccess>
order allow,deny
deny from all
</Files>
If you use this in your htaccess file, then a person trying to see that file would get returned (under most server configurations) a 403 error code. You can also set permissions for your htaccess file via CHMOD, which would also prevent this from happening, as an added measure of security: 644.
GD Star Rating
loading...
loading...
GD Star Rating
loading...
loading...
Related posts:
- How to Disable Hotlinking of the Images Using .htaccess file?
- Blocking users and websites Via htaccess
- Importance of htaccess for Web Hosting Accounts
- Trick to find a Bad bot with the help of htaccess
- How to prevent fraud on your e-commerce website
Posted under Linux Hosting
This post was written by admin on October 17, 2008
