Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

As a developer hwo do I stop users saving images from the page info screen

  • 5 ప్రత్యుత్తరాలు
  • 1 ఈ సమస్య కలిగినది
  • 4 వీక్షణలు
  • చివరి సమాధానమిచ్చినది cor-el

more options

For copyright reasons I do not wish users to be able to locally save images presented on my web page. I can prevent Firefox and other browsers caching the image and prevent 'right click / save image' from working but I can't see any way to prevent a Firefox user from simply selecting page-info / media and saving the image. I'm using a handler to serve the image so the url of the image is not reusable out of the page's context but the page info functionality is obviously accessing the already downloaded image rather than going back to the server.

Can you explain how I can prevent this save functionality?

For copyright reasons I do not wish users to be able to locally save images presented on my web page. I can prevent Firefox and other browsers caching the image and prevent 'right click / save image' from working but I can't see any way to prevent a Firefox user from simply selecting page-info / media and saving the image. I'm using a handler to serve the image so the url of the image is not reusable out of the page's context but the page info functionality is obviously accessing the already downloaded image rather than going back to the server. Can you explain how I can prevent this save functionality?

ప్రత్యుత్తరాలన్నీ (5)

more options

hello Alan_VB, due to how the web works this won't be possible to prevent. people can always view the source code of a page and extract/download selected resources.

more options

If you are very much concern about copyright, then you can make a flash website instead of using html. But there also, screen shots and other tools are avaliable to fetch the image from screen. So, there is not much you can do about it.

న Nikhil John చే మార్చబడినది

more options

Or place watermarks on your images. Or better yet, license them under CC!

more options

I've built a ashx handler that only serves the image if the request comes from within one of my site's pages and I've also given it a parameter that will invalidate when the page is reloaded so taking the url from the source code isn't going to help anyone - I admit I can't do anything about screen capture but the page-info / media / save thing just makes it too easy to download the image I thought the mechanism would require a round trip to the server but it doesn't and the image shouldn't be cached since the source has query parameters.

I appreciate that I'm never going to be able to 100% prevent image theft but I'd like it to be less than trivially easy and this functionality as presented make it very simple for anyone with the slightest knowledge to get a good copy of the image (though I have water-marked it as well)

more options

You would have to serve images by using a plugin like Flash that can retrieve the images via a secure connection to prevent or at least makes it more difficult for visitors to save the images (they could still make a screenshot).