Prevent image theft
-
How do i prevent a user from downloading images from my website and disable it from getting stored in the cache?? Is there an IIS setting or do I have to write code. I know javascript can disable the right click stuff and i have that. I'm more concerned about not caching the images.
-
How do i prevent a user from downloading images from my website and disable it from getting stored in the cache?? Is there an IIS setting or do I have to write code. I know javascript can disable the right click stuff and i have that. I'm more concerned about not caching the images.
Hi there, To set the expired time for an image file, in the IIS snap-in you right click on the image file to open the Properties dialog box. On the HTTP headers tab, you select the Enable Content Expiration checkbox and set the expired time you want. You can also do that in code as well.