Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How to Prevent copying of the original image folder when the entire website is being copied. Also,what are the measures that should be taken to prevent guessing of the original images.

share|improve this question

migrated from stackoverflow.com Nov 11 '11 at 2:43

This question came from our site for professional and enthusiast programmers.

    
If the images are linked in your site, you don't need to be able to guess it. Or did you mean something else? –  JohnP Nov 10 '11 at 12:39
    
Yes the image folder contain all images shown in website and even the watermark image .And i dont to prevent any one /software from copying it. –  punit shah Nov 10 '11 at 13:03
add comment

2 Answers 2

You can't prevent it completely. Custom-build web crawlers can always analyze your site and get the image urls, just like any legit browsers. The best you can do is to detect large amount of access from the same IP, and block that ip when it reaches certain number of hits per minutes.

You can also probably prevent hot-linking by checking the http referrer. This however can be faked by crawlers too.

share|improve this answer
add comment

Just put the original (i.e. non watermarked) images in a non-public folder, inaccessible from the web. When someone want to buy an image, send him using another way, like a CD-ROM.

The alternative is to serve the original images using a dynamic web app, which verifies that the logged-in user has the right to download the image, fetches the image from a protected folder, and then streams it to the HTTP response.

share|improve this answer
    
I think you didnt got the problem correctly.I want the tools to be forbidden to copy my folders in my project specially image folder –  punit shah Nov 10 '11 at 15:53
2  
Everything put on the web is downloadable. If it weren't, the browser could not download the image to display it. If you don't want your images to be downloaded, don't put them on a web site. –  JB Nizet Nov 10 '11 at 15:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.