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: A little Ideea to help you out  (Read 3227 times)

0 Members and 1 Guest are viewing this topic.

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
A little Ideea to help you out
« on: December 07, 2007, 02:45:25 pm »

Hello coppermine staff I have a small idea i want to share with you that has helped me out a bit and that i think will be a bit useful
Preventing access to folders like album folders so that people can't steal pictures like that
I just write an index.html that has a redirect in it like so :
Code: [Select]
<html>
<head>
<Title>No access to directory!</title>
<meta
http-equiv="refresh" content="2; url=http://www.add-fun.com">
</head>
<body>
<h1>REDIRECTING</h1>
<h1>You do not have access here<h1><br>

</body>
</html>


Well it's simple and useful....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A little Ideea to help you out
« Reply #1 on: December 07, 2007, 07:38:43 pm »

Thanks for your readiness to share your insight. However, even better (and recommended) is to turn off indexes in the first place. If you're on an apache webserver you can do so using a .htaccess file - details can be found all over the net, e.g. http://www.aota.net/htaccess/index.php4
The line
Code: [Select]
Options -Indexesin your .htaccess file will do the trick.
Logged

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
Re: A little Ideea to help you out
« Reply #2 on: December 09, 2007, 09:41:25 pm »

oh yes that is very true but true also is that some web hosts like 110mb charge 10$ one time payment for db access and another 5 for htaces usage :D:D
for poor sorry mofos like me this is a good solution
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A little Ideea to help you out
« Reply #3 on: December 10, 2007, 07:59:19 am »

If they charge you for being allowed to customize the .htaccess page, then indexes should be turned off by default on their servers. Request them to do this for you if you're not ready to spend the additional 5 bucks. If they refuse I suggest finding another webhost. Indexes off should be default on decent webhosting for security reasons. You're welcome to refer to this thread when filing your request at 110mb.
Logged

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
Re: A little Ideea to help you out
« Reply #4 on: December 10, 2007, 12:56:51 pm »

mhm ok
then that should all be very ok even for such a host
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.