?
Solved

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

Posted on 2011-02-21
5
Medium Priority
?
407 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 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