Solved

Can I show an image using Silverlight and prevent it from being copied?

Posted on 2011-02-21
5
404 Views
Last Modified: 2012-05-11
I hope to write a Silverlight and/or a Silverlight out of browser application involving certain images which can be viewed by certain users.

How can I disable the clipboard when a picture has the focus? Or remove the "Copy" menu item from the context menu on a right click on that image?

(I assume I will be running in the browser)

I don't want the user to copy the picture and thereby make the picture public.

Thanks,
newbieweb
0
Comment
Question by:newbieweb
  • 3
5 Comments
 

Author Comment

by:newbieweb
ID: 34946485
also, I guess I would also need to block Windows from enabling the PrtScrn feature as well.  Otherwise they willl take a picture of the entire window and carve out the picturte they want to see...

newbieweb
0
 
LVL 8

Accepted Solution

by:
Toxacon earned 500 total points
ID: 34946693
Check the clipboard content periodically when the window is active. If it suddenly contains an image, just discard the clipboard content.
0
 

Author Comment

by:newbieweb
ID: 34947034
> Check the clipboard content periodically when the window is active

Wouldn't I need to check it, say, 500 Milliseconds after every keystroke? Then I ensure that I delete the clipboard before they have time to copy it to MS Paint?

But i'sn't there a more direct way to block the feature?  I'd need to block "Save picture as..." as well.

I need to be able to force the use of my context menu when it's a JPG background, then remove certain options from that new menu I impose.

Do you konw how to do this?

newbieweb
0
 

Author Closing Comment

by:newbieweb
ID: 34948543
Thanks
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 34948557
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question