Roberto Posted December 23, 2008 Share Posted December 23, 2008 I've just typed in http://mydomain.com/mails/en/account.html and the content of the email template is there for all to see.What's the best way to close it off from public view without stopping PrestaShop from using the templates? Link to comment Share on other sites More sharing options...
TropischBruin Posted December 24, 2008 Share Posted December 24, 2008 Good question.This should be in security. Link to comment Share on other sites More sharing options...
Roberto Posted December 24, 2008 Author Share Posted December 24, 2008 Ah, good point, can we move our posts after posting or is this something only the forum admin can do? Link to comment Share on other sites More sharing options...
hieloiceberg Posted December 24, 2008 Share Posted December 24, 2008 MMM......... basically you can open anything like for example:http://www.prestashop.com/demo/modules/blockmyaccount/blockmyaccount.tpl Link to comment Share on other sites More sharing options...
Skipper Posted December 24, 2008 Share Posted December 24, 2008 Untested : order allow,deny deny from all in a .htaccess file just below the shops root directory, e.g. the /modules directory. Link to comment Share on other sites More sharing options...
Roberto Posted December 26, 2008 Author Share Posted December 26, 2008 Thanks Skipper I'll give that a go! Link to comment Share on other sites More sharing options...
TropischBruin Posted December 29, 2008 Share Posted December 29, 2008 Thanks Skipper I'll give that a go! Did it work? Link to comment Share on other sites More sharing options...
msk69 Posted January 3, 2009 Share Posted January 3, 2009 seems okay.. just gave it a go... not fully tested. Link to comment Share on other sites More sharing options...
Paul C Posted January 3, 2009 Share Posted January 3, 2009 You can also set the permissions, depending on what you php user will put up with. As an extreme you can try setting them to 600 - this should prevent anyone but the owner from accessing them - some servers who have php running as a group member may need 660.Paul Link to comment Share on other sites More sharing options...
ObsessionO Posted February 15, 2009 Share Posted February 15, 2009 Untested : order allow,deny deny from all in a .htaccess file just below the shops root directory, e.g. the /modules directory. This works too well. Eg. If you put it on it will stop access to the files, but it will also stop access to your store pages. I do agree that those pages need to be protected for privacy sake. Will this issue be addressed in future versions? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now