Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

.htaccess Deny all for /app/etc , is it ok ? 
 
mathman
Jr. Member
 
Total Posts:  5
Joined:  2011-10-30
 

Hi , i have found that i have direct visits to app/etc/config.xml which i think are security related , if i put htaccess with deny all in that folder , will it stop the visits and will my site still function ok ?
Thank you in advance

 
Magento Community Magento Community
Magento Community
Magento Community
 
S Macfarlane
Member
 
Avatar
Total Posts:  53
Joined:  2010-10-24
Southampton
 

Yes it is safe and recommended to do this:

Order deny,allow
Deny from all
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top