www.webdeveloper.com
Results 1 to 3 of 3

Thread: Stopping image capturing

  1. #1
    Join Date
    May 2014
    Posts
    2

    Stopping image capturing

    How do you go about making it so someone cannot scroll over a picture and right click to save the image from your webpage? Have you already made a tutorial on this? If so can I just get a link.
    Now I realize a smart person would then just do a screen shoot but not everyone is that smart.

  2. #2
    Join Date
    Mar 2012
    Posts
    1,277
    A screen shot is not the only thing you need to worry about: <ctrl> S will (usually) save your whole web page including ALL the images. That is one reason why some sites use thumbnails that you have to click on to pull up a larger image. The thumbnails are generally unprotected, but there are ways to protect the larger images. But whatever protection you use, someone can bypass...

  3. #3
    Join Date
    May 2014
    Posts
    684
    ANY protection method can be slapped aside, as HTML is "insecure by design" -- any method -- be it javascript, javascript or... well... since javascript is the only client side language you would have access to, javascript, can be slapped aside in seconds. From document inspectors like firebug and dragonfly, to document information like the web developer toolbar's "information > document size", to simply using a cache browser, trying to stop it is effectively impossible.

    Which is why usually you'll see things like watermarks -- one of the BEST watermark methods is to put the images behind a user login (assuming you have some sort of subscription service) then encode the visitors IP and account name into the image file in realtime. Takes a bit of server power to do, but it means when someone grabs the image and uses it somewhere else, you at least have a CHANCE at figuring out who took it and ban their account...

    ... but that's mostly only useful AFTER they've leeched you dry, to protect new content, not the existing stuff.

    Bottom line, HTML just doesn't work that way; if you don't want people leeching your images, don't put them online. That's harsh, but it's also the reality of it.
    Java is to JavaScript as Ham is to Hamburger.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles