osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Image directory protection

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > Community > Off topic & Chit Chat

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-06-2007, 07:55 AM
New Member
 
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
php4ever is on a distinguished road
Default Image directory protection

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-06-2007, 11:41 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,562
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: Image directory protection

Actually that is wrong. You should be using .htaccess files

Use one line with:

Options -Indexes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-07-2007, 06:09 AM
New Member
 
Join Date: Apr 2007
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
php4ever is on a distinguished road
Default Re: Image directory protection

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-07-2007, 03:57 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 444
Thanks: 3
Thanked 75 Times in 70 Posts
Rep Power: 6
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: Image directory protection

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">
This ensures that anyone who wants to get to your directories can't, but also ensures that any spyders that show up get redirected to the home page so that it will index properly.
__________________
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-07-2007, 07:06 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Image directory protection

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax