Solved

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

Posted on 2011-02-21
5
405 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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