Jump to content

Prevention Help


canadabeeau

Recommended Posts

How can I use PHP or any other language (feel free to move this thread) to prevent users doing screenshots of the website (maybe Java??) so if anyone knows how I can achieve this please post. Or how can I code so that if they do screen shot it make the image (for example) blanked out.

 

Season greetings and thanks in advance for any help

Link to comment
Share on other sites

This is basically impossible. Simply using PRT SCR doesn't even query the browser, so it'd happen no matter what. The ONLY way you can accomplish this is physically placing the layer onto a Direct X buffer, which will not allow bufferside sccreenshots to show anything but the blank backbuffer.

 

EDIT: What is your need for this? If you don't want someone to steal an image, watermark it.

Link to comment
Share on other sites

oni-kun how would I do your option (coding wise)??

 

You really think PHP can be binded with Direct X? It wouldn't even run on Mac/*Nix. I was just listing the ONLY possible method of preventing a screenshot. Further, what stops them from using a good camera on the screen? You're asking of the impossible.

Link to comment
Share on other sites

You've got two options:

  1) Create an offline program that can be un-screenshottable

  2) Nothing.

 

The above user's post. Does not work on Firefox, as JS has rules. And what if they're on a browser other than Windows? What if they turned JS off? Many users have NoScript. It takes seconds to be able to screenshot your page.

Link to comment
Share on other sites

You've got two options:

  1) Create an offline program that can be un-screenshottable

 

what if they disable active x control?

if you create the program, browser will pop up a yellow bar to ask u, to run this active x control?

wat if they choose no?

 

No, this has nothing to do with the browser. If it were an AX extension it still could not prevent a screenshot. I meant a CPP/DX .exe not a web browser.

Link to comment
Share on other sites

so make a desktop application instead??

 

Yes, but without 5+ years knowledge of CPP and Direct X interfacing, you're out of luck. I'm just giving you the point, There's no possible way to prevent the user to screenshot your site, if a website had such control, Viruses would be able to take control of keys by just browsing the site!

 

If you could tell my why you need this function, I can give an alternative. But you won't find one with just that in mind.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.