G
Guest
I developed a WinForms control that runs withing Internet Explorer. To
prevent changes to the client security settings I took care that the control
only uses permissions from the Internet Zone.
One of the controls features is copying text or bitmap images to the
clipboard. That worked all the time with .NET 1.1 using
Clipboard.SetDataObject. Now I tried .NET 2.0 and copying bitmap images
raises a SecurityException that says the used clipboard format is not
permitted. Copying text still works.
Why is copying images to the clipboard a security risk? Is this change
documented somewhere (I couldn't find it in the breaking changes)? Is there a
workaround (changing client security settings is not an option fo me)?
prevent changes to the client security settings I took care that the control
only uses permissions from the Internet Zone.
One of the controls features is copying text or bitmap images to the
clipboard. That worked all the time with .NET 1.1 using
Clipboard.SetDataObject. Now I tried .NET 2.0 and copying bitmap images
raises a SecurityException that says the used clipboard format is not
permitted. Copying text still works.
Why is copying images to the clipboard a security risk? Is this change
documented somewhere (I couldn't find it in the breaking changes)? Is there a
workaround (changing client security settings is not an option fo me)?