• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

how to prevent access to a site folder ?

Howling Wolf

We did not deserve this !
#1
Maybe it's not a simple question...

Is there a way for visitors not to access directly an image folder (I don't want someone to copy or view the images without visiting the page they're in...) ?
I tried to put an .htaccess file in this folder but the wrong effect is that the page containing the images cannot access the images unless I give the username/password on clicking the link leading to this page, that's of course not a solution...

Or, how to prevent the ability to copy the images directly from the folder they're stored in ?
Same question, how to prevent image copy from a html page ?

Any suggestions ?
Thank you all !
 

SPeedY_B

I may actually be insane.
#2
For an image folder just put a blank page in there called index.html

As for protecting images, there's hundreds of pathetic javascripts out there to do this for you, but I have to say that absolutely none of them work, it is 100% utterly completely impossible to protect images.
 
#3
Originally posted by SPeedY_B
As for protecting images, there's hundreds of pathetic javascripts out there to do this for you, but I have to say that absolutely none of them work, it is 100% utterly completely impossible to protect images.
Yes I agree. If you want users to view the images, they will be able to steal them. The scripts are just annoying.
 

Howling Wolf

We did not deserve this !
#4
Thank you for the info SPeedY_B, the index.html might be the right solution.

But I've seen sites that block IE6 image toolbar (when you hover over an image), this option might be of interest for me even though it will not prevent image copy ;)
 

SPeedY_B

I may actually be insane.
#5
Interesting, I've never seen or heard of that before. Not everyone uses IE6 though, I'm on a mac and only have IE5 available to me, along with Firebird/safari etc. Although I would imagine that stats show at least 80% of visitors do use IE6, heh.

Only place I can think of, off the top of my head, would be http://hotscripts.com/ there's plenty of scripts there to serve various purposes, may be something there for you :)
 

Khayman

I'm sorry Hal...
Political User
#8
even if you can click on it, save it or anything else, if you can view it you can simply take a cap of it!
 

SPeedY_B

I may actually be insane.
#9
Originally posted by Khayman
even if you can click on it, save it or anything else, if you can view it you can simply take a cap of it!
Hence it being 100% impossible to protect images :)

Best way to protect your images, is to not put them on the web :)
 

Howling Wolf

We did not deserve this !
#11
Thank you all, my main concern was that some people seemed to access one of the images folders directly without loading the html they're on and may have copied some of them this way which I find fairly unfair...
I followed SPeeDy_B's advice and put 2-3 index.html in various folders and I'm happy with it now :)
 

SPeedY_B

I may actually be insane.
#12
Originally posted by punkandacoke
hey...there is a way to protect images.
bury every image into a seperate flash file.
;-)
not saying its easy, but it will protect em'
Not from the print screen key though.
 

Howling Wolf

We did not deserve this !
#15
> SITE CHMOD 711 Images
< 550 CHMOD not allowed on Images

that's what I get when I try... anyway, an index.html page does the trick also, so thank you j79zlr
 

Members online

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown