This is a discussion on Image directory protection within the Off topic & Chit Chat forums, part of the Community category; Didn't now where to post a suggestion for future releases of oscmax so I thought I'd drop it here. I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Didn't now where to post a suggestion for future releases of oscmax so I thought I'd drop it here. I think a blank index.php file should be in every image folder especially those that relate to the catalogs. I've been doing that to prevent people from browsing the directory on servers that don't prevent it. Maybe? ~ Jared
__________________ http://www.jaredritchey.com |
|
#2
| ||||
| ||||
| Actually that is wrong. You should be using .htaccess files Use one line with: Options -Indexes |
|
#3
| |||
| |||
| I try to avoid using HTACCESS files because they have to load by apache each and every time over and over again and they do not cache. I've seen some people on my server with HTACCESS files for rewrites as much as 75kb and they wonder why performance on their site is so slow for dial up customers. I personally use blank index.php files because they dont need to load each time, only when needed. But you make a valid point. ~ Jared
__________________ http://www.jaredritchey.com |
|
#4
| |||
| |||
| better yet. EVERY directory should have an index.html that contains Code: <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#5
| ||||
| ||||
| The best way is to have indexes off at the server level - in httpd.conf. A properly configured server is the always best way to go. This precludes the need for .htaccess or index files. There is no reason to ever have directory browsing on for publicly accessible addresses. That is what FTP is for. If someone is worried about .htaccess performance hits, their site is either too busy to be using shared hosting or their shared server is way overloaded. The impact of .htaccess is minimal to nil on all but the busiest of sites.
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extra contact_us.php Protection | michael_s | New osCommerce Contributions | 0 | 05-06-2007 08:18 PM |
| Extra contact_us.php Protection | michael_s | New osCommerce Contributions | 0 | 02-15-2007 04:54 AM |
| Robot Protection V 1.0 | michael_s | New osCommerce Contributions | 0 | 01-24-2007 12:59 AM |
| categorising image directory | krazyworld | osCommerce 2.2 Modification Help | 0 | 08-18-2005 02:26 PM |
| Products image missing popup image | islander | osCMax v2 Installation issues | 7 | 08-10-2005 12:30 PM |