|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Elevating trust for a UserControl displayed on a web pageI would like to create an "ActiveX" object to display on a web page using C#
in Visual Studio 2005. It appears the only straightforward way to do this is to create a UserControl and display it with the object tag. This works fine as long as no extended permissions are required. I need to control to be able to read multiple (photo) files on the client system so they can be uploaded in one batch. What I would like in the old standard ActiveX approach where the user is asked once to authorize the download from a trusted publisher. I can't find a way to do this with a UserControl. Additional CAS permissions will need to be granted for your control on the
client machine. While you can provide a script to do this (using caspol.exe to drive the permissions modification), it will need to be run under an administrator account. If you're deploying over an intranet, you may wish to talk to your network administrator about setting up automated deployment of the CAS permissions modifications. Some options for this are described at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/entsecpoladmin.asp. Show quoteHide quote "Craig P" <Craig P@discussions.microsoft.com> wrote in message news:28290DC6-7C08-4824-8852-16B212B5D453@microsoft.com... >I would like to create an "ActiveX" object to display on a web page using >C# > in Visual Studio 2005. It appears the only straightforward way to do this > is > to create a UserControl and display it with the object tag. This works > fine > as long as no extended permissions are required. I need to control to be > able to read multiple (photo) files on the client system so they can be > uploaded in one batch. What I would like in the old standard ActiveX > approach where the user is asked once to authorize the download from a > trusted publisher. I can't find a way to do this with a UserControl.
Using remoting features inside a .NET applet loaded in a tag object
Configuration Tool missing Registry Permission Attributes deserialize and "medium trust" .NET 2.0: SetAccessControl wipe out inherited ACEs remote registry access issue on Vista RC1 Drag and Drop Outlook email to Dot Net Framework application? EnvironmentPermission ASN1 unexpected end of data Runtime Security Policy Question |
|||||||||||||||||||||||