Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Client Scripting
Expertise: Beginner
Feb 14, 2000

Securing Images on Your Site

Question:

Is it possible to keep someone from downloading an image from my Web site?

Answer:

It's certainly possible to secure some of the files on your Web site. The process will vary depending on the Web server platform you (or your ISP) are using, but regardless nearly all Web servers allow you to password-protect certain files or directories and make sure that only certain users get access.

On the other hand, if what you're trying to prevent is people saving the images from your Web pages to their hard discs, then you're out of luck. This is because in order for the browser to display the images that are on your page, the browser must download them to the user's machine. Once there, users can pretty much do anything they want with them, including saving them to their local machine.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date