Re: windows forms control with extended permissions
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: Mon, 14 Jun 2004 00:12:18 -0500
You would need to have them download some kind of executable that would
change the local policy. You can create an msi file that will accomplish
this with the .NET Framework Configuration MMC snap-in.
However, the users will need to be administrators (or perhaps Power User, I
forget) to change the .NET security policy on their machine.
"pl_dave" <email@example.com> wrote in message
> i have a windows forms control that is embedded in a web page. it runs on
the client and requires some non-default permissions. when a client that
hasn't made changes to it's local security policy to accomodate the control
visits the web page, the control throws security exceptions.
> what i would like to happen is that the user be prompted with a dialog box
asking whether he wants to install and run the control from company x (like
the activex controls do when they are encountered). ideally it would also
say exactly what permissions are being requested.
> the following article shows a perfect example of what i would like to see:
http://www.developer.com/java/article.php/934031 look right under the
phrase: "Internet Explorer displays the following dialog box when running
". unfortunately the example is for java i haven't figured out how to do
something equivalent for windows forms controls.
> is there any way to do this?