Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the ways to prevent users to take screenshot of a webpage? [duplicate]

Possible Duplicate:
How do i prevent from printscreen of my webpage?

I want to prevent users from taking screen shots of a web-page. What should be the code I have to place in that .html file?

What should be the code to prevent button press like print screen? Because many website prevents users from pressing any keys.

like image 248
Debadyuti Maiti Avatar asked Sep 14 '12 17:09

Debadyuti Maiti


People also ask

How do I prevent someone from Screenshotting a website?

One common method to prevent image theft is simply to disable your website visitors' ability to right/alt-click on images to prevent them from directly saving your images. You might think that this is not particularly effective because people could easily take screenshots of your images.

Is it possible to prevent screenshots?

Luckily, the Android system provides a built-in mechanism for blocking screenshots which is available from Android Honeycomb (3.0).


2 Answers

Screenshots are not controlled by the web browser, they are controlled by software running on the user's operating system and cannot be remotely controlled by a web server.

like image 190
JSK NS Avatar answered Oct 13 '22 19:10

JSK NS


It is possible. Try this css feature.

html {
    display: none;  /* hide whole page - the only true way to prevent screenshots */
}
like image 22
Nelson Avatar answered Oct 13 '22 19:10

Nelson