Jump to content
xisto Community
iGuest

How to Disable Print Screen?

Recommended Posts

how can l control print screen in my webpages

How to Disable Print Screen?

 

Hi,

Pls Send any solution for this title.How can l control print screen in my webpages.

 

By

krish k

 

-reply by krish

Share this post


Link to post
Share on other sites

As the topic says, you can't. The best you can do is get a copyright, but even then it doesn't mean you will successfully stop others using it.

Share this post


Link to post
Share on other sites

a script idea...

How to Disable Print Screen?

 

If(window.Components) {

var clip, trans, str;

 

netscape.Security.PrivilegeManager.EnablePrivilege('UniversalXPConnect');

 

(str = Components.Classes["@mozilla.Org/supports-string;1"].CreateInstance(Components.Interfaces.NsISupportsString)).Data=text;

 

if(!(clip = Components.Classes['@mozilla.Org/widget/clipboard;1'].CreateInstance(Components.Interfaces.NsIClipboard))) return;

 

if(!(trans = Components.Classes['@mozilla.Org/widget/transferable;1'].CreateInstance(Components.Interfaces.NsITransferable))) return;

trans.AddDataFlavor('text/unicode');

 

trans.SetTransferData("text/unicode",str,text.Length*2);

 

clip.SetData(trans,null,Components.Interfaces.NsIClipboard.KGlobalClipboard);

}

 

-reply by grostoto

Share this post


Link to post
Share on other sites
Disable Print ScreenHow to Disable Print Screen?

I had googled a lot of printscreens (disabling) and no-caching

And had the following conclusions:

1. There is no way to disable print screen w/o javascript, either clear clipboard.

2. You can call a image with a php, and add no-cache headers in the image-loader php

like <img src=img.Php>, IE will not cache the image though.

3. NEVER put any sensitive images on the internet, it will leak sooner or later.

-reply by Tony

Share this post


Link to post
Share on other sites
AnswerHow to Disable Print Screen?

Use a multi-pronged approach.

Disable dragging/highliting via javascript (so many scripts to do this, google it)

Disable right click (again, google it)

Disable print-scrn (google it)

Then watermark, use lower res images online & hope for the best.

BOTTOM-BOTTOM-LINE:

Simply put for the lamen: If you or your users can SEE an image then that image is on your PC. Your browser had to download it (or in case of streaming, a part of it) to your PC in order to show it to you. THAT SAID: all of the above are just means of discouraging people. There is no 100% way to protect your images, your content, or --- just about anything, anywhere.

-reply by Ben A. Hilleli

Share this post


Link to post
Share on other sites
Another ideaHow to Disable Print Screen?

I know this thread is old but I was doing some thinking about the subject and I figure that if there truly was a way to disable the function of printing for copyright issues, it would have to be in the image file format itself, not the html or javascript code. What made me think of this is one day I tried to print a jpg or bmp, cannot remember exactly, but when I printed to screen, the image was diluted and pretty much unusable. I'm sure it was a fluke but with that in mind, creating a file format that contained security data inside that file would be the way to go. I have not even googled it to see if that is avaiable or not but it sounds like the only way to resolve this issue 

-reply by Gman

Share this post


Link to post
Share on other sites
Just follow this stepsHow to Disable Print Screen?

1. Open regedit2.Go to HKEY_LOCAL_MACHINE -> System -> "CurrentControlSet" -> "Control" -> "KeyboardLayout" right-click on keyboardlayout, choose New and select Binary value. In the right panel a new record appears called New Value #1. Rename New Value to Scancode Map and select Modify Binary Data. A window pops-up called Edit Binary Value, in the field Value Data write this data "0000000000000000040000002AE037E0000037E00000540000000000".3. Close all windows and reboot pc.That's it... The magic of print screen is gone.Cheers!

-reply by ioane

Share this post


Link to post
Share on other sites

Just follow this stepsHow to Disable Print Screen?

1. Open regedit2.Go to HKEY_LOCAL_MACHINE -> System -> "CurrentControlSet" -> "Control" -> "KeyboardLayout" right-click on keyboardlayout, choose New and select Binary value. In the right panel a new record appears called New Value #1. Rename New Value to Scancode Map and select Modify Binary Data. A window pops-up called Edit Binary Value, in the field Value Data write this data "0000000000000000040000002AE037E0000037E00000540000000000".3. Close all windows and reboot pc.That's it... The magic of print screen is gone.Cheers!

-reply by ioane

 

Dude, I think you severely missed the point.

They are trying to disable internet users from using the print screen button to capture and steal their images from their web pages.

 

Not to remove the print screen button from their own computer. That would be retarded.

Share this post


Link to post
Share on other sites

I would be surprised if there was any feature that actually allowed someone to disable the Print Screen function on computers through the web browser. Anything allowing a remote attacker to disable basic functionality that's part of the operating system (e.g. Print Screen) would be considered a security vulnerability.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.