Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Site whoring prevention?  (Read 5918 times)

0 Members and 1 Guest are viewing this topic.

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Site whoring prevention?
« on: March 14, 2006, 01:27:45 am »

Ok, I've had some idiot friends that have just been whoring all my photos regardless of the access by simply retrieving the entire website!

I don't really care all that much but for the bandwidth consumption but I was wondering if this could be prevented somehow.

I have restriction on all my albums, everything works great as far as coppermine itself but if people simply get to the albums/batch_uploads/ folder they can whore anything they want... Now that's kinda dumb to have any kind of security if you're gonna be able to get the whole thing via website downloader tools.
Might as well make it public.

Anyways, was looking into the .htaccess stuff but the documentation is quite thin... Any tips?

Server is running on FC4.

Thanks,
Sam
« Last Edit: March 15, 2006, 05:24:47 am by TranzNDance »
Logged

Nibbler

  • Guest
Re: Site whoring prevention?
« Reply #1 on: March 14, 2006, 01:59:37 am »

Either disable indexes or place a blank index.htm or index.php in the folder.
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Site whoring prevention?
« Reply #2 on: March 14, 2006, 04:55:08 am »

already done that for most of them but what about if someone uses a program that caches the whole site. None of the index pages will do squad, they'll be able to dl whatever they want w/o any kind of account...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Site whoring prevention?
« Reply #3 on: March 14, 2006, 06:51:45 am »

not true - if the permissions are set not to display all pics for anonymous users, then there will be no links pointing to the files that aren't suppossed to show up, so they won't get indexed nor downloaded by tools like Httrack (when indexes are turned off as suggested already).
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Site whoring prevention?
« Reply #4 on: March 14, 2006, 07:52:08 am »

Interesting. I'll try to disable indexes. I'm guessing that's a directory setting in the httpd.conf file. I'll have to do some research, I just got really paranoid for a second... thanks for easing my fears!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Site whoring prevention?
« Reply #5 on: March 14, 2006, 08:04:07 am »

try using
Code: [Select]
Options -Indexesin a .htaccess file - more information: http://httpd.apache.org/docs/2.0/mod/core.html#options
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Site whoring prevention?
« Reply #6 on: March 14, 2006, 06:35:19 pm »

Excellent... works perfectly or at least it appears to do so with HTTrack and Lightning Download. Is there another program that could potentially work around this? Again not too concerned about it but I'd love to learn as much as I can about hardning Apache (and I know this probably isn't the right place to ask but I figured I would give it a shot).

In any case thanks a bunch for the help... Keep up with the awesome work!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Site whoring prevention?
« Reply #7 on: March 15, 2006, 12:08:25 am »

no, afaik all offline copiers work the same way, as they're bound to do the same a human user browses the web, only faster. Stuff that isn't linked can't be copied, as they can't guess URLs.
Logged

oplok72

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Site whoring prevention?
« Reply #8 on: June 16, 2006, 03:35:14 am »

Hi! I am quite not good with this thing but I am interested about what you did to secure the folder.  My hosting is windows and can you tell me how would I apply this in windows environment? Thanks.

Excellent... works perfectly or at least it appears to do so with HTTrack and Lightning Download. Is there another program that could potentially work around this? Again not too concerned about it but I'd love to learn as much as I can about hardning Apache (and I know this probably isn't the right place to ask but I figured I would give it a shot).

In any case thanks a bunch for the help... Keep up with the awesome work!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Site whoring prevention?
« Reply #9 on: June 16, 2006, 09:58:34 am »

On Windows with Apache, you will have to come up with a file named _.htaccess.
On Windows with IIS, there's a setting in the admin control that enables/disables indexes.
You'll have to find out details by asking your webhost for support, as this is not a coppermine issue.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.