Guest Posted January 7, 2007 Posted January 7, 2007 Right now, if someone tires to view say... www.website.com/catalog/images on my website, it will give them an FTP view of all the folders and files in that folder. How can I make it say "Access is denied" or however it does on many other websites?
usernamenone Posted January 8, 2007 Posted January 8, 2007 add a blank image.html file in your image folder like this for the code and upload it into your image folder. <html> <head> <title></title> <meta content=""> <style></style> </head> <body></body> </html>
usernamenone Posted January 8, 2007 Posted January 8, 2007 sorry it is a blank index.html to the images folder.
shooter-boy Posted January 8, 2007 Posted January 8, 2007 You could put a redirect command in there too. Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Guest Posted January 8, 2007 Posted January 8, 2007 So basically I need to do that for every folder I don't want people to be able to access?
shooter-boy Posted January 8, 2007 Posted January 8, 2007 Most folders are blocked with .htaccess. Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.