From: Andreas Håkansson (andreas.hakansson_at_nospam.com)
Date: Fri, 8 Oct 2004 14:38:56 +0200
Please correct me if I'm wrong. But can't permissions be set at an
If so then wouldn't it be possible to provide custom evidence for the
as a strong-name, and grant code with the evidence higher permission ?
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> skrev i meddelandet
> The problem lies with your application requiring permissions that are not
> granted by default to code running from the intranet zone. You'll need to
> alter the local CAS policy settings on each client machine in order to
> allow your application to run from the network share. The first step is
> deciding what policy modifications to make. The usual approach is to sign
> your assemblies (authenticode or strong name), then add a code group to
> either the machine or enterprise policy levels (as appropriate to the
> target environment) in order to grant elevated permissions to code signed
> in the selected manner.
> Once you've decided on the policy changes, you'll need to deploy them.
> The two simplest methods are:
> 1. Create a policy MSI package. See
> http://blogs.msdn.com/shawnfa/archive/2004/09/07/226530.aspx for
> 2. Run caspol.exe
> with appropriate arguments.
> In either case, domain login scripts or other infrastructure tools may be
> available to aid with the deployment. Your network administrator(s)
> should be able to help you choose the least-effort approach.
> "J.MOUZAKIS" <JMOUZAKIS@discussions.microsoft.com> wrote in message
>>I install my application on one machine (backdesk)
>> I create a shortcut pointing to \\backdesk\c:\...\...exe on another
>> When I open a form that uses oledb connection I get the message that
>> "Request of permission of type OledbPermission for public key token ....
>> Is there a way I can
>> "Nicole Calinoiu" wrote:
>>> How is your assembly being deployed to these machines?
>>> "J.MOUZAKIS" <JMOUZAKIS@discussions.microsoft.com> wrote in message
>>> > How can I grant my assembly the required permissions for it to work on
>>> > enery
>>> > machine of a local network
>>> > --
>>> > J.MOUZAKIS