Totally Zenned
- Join Date:
- Sep 2008
- Location:
- Cleethorpes
- Posts:
- 1,230
- Plugin Contributions:
- 3
change to includes htaccess
Please can one of the forums Zen Cart developers tell me if I change the htaccess file in 'includes' would this compromise the cart and make it less secure?
The reason I ask is that I've been told by a payment system company to add |PHP|php to the end of the htaccess file like this.
deny everything
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
but now allow just certain necessary files:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL|PHP|php)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore /
normally it would read
deny everything
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
but now allow just certain necessary files:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore /
Thanks
Nick
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk