Re: Permissions
From: Andreas Håkansson (andreas.hakansson_at_nospam.com)
Date: 10/08/04
- Next message: Valery Pryamikov: "Re: Encrypt with .Net, decrypt with Crypto API?"
- Previous message: Nicole Calinoiu: "Re: Permissions"
- In reply to: Nicole Calinoiu: "Re: Permissions"
- Next in thread: Nicole Calinoiu: "Re: Permissions"
- Reply: Nicole Calinoiu: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 8 Oct 2004 14:38:56 +0200
Please correct me if I'm wrong. But can't permissions be set at an
enterprise level?
If so then wouldn't it be possible to provide custom evidence for the
assembly, such
as a strong-name, and grant code with the evidence higher permission ?
//Andreas
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> skrev i meddelandet
news:%23jjWV7SrEHA.2856@TK2MSFTNGP10.phx.gbl...
> 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
> instructions.
>
> 2. Run caspol.exe
> (http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfcodeaccesssecuritypolicyutilitycaspolexe.asp)
> 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.
>
> HTH,
> Nicole
>
>
> "J.MOUZAKIS" <JMOUZAKIS@discussions.microsoft.com> wrote in message
> news:B3336EA8-9AD7-4669-9F1A-3CF899864041@microsoft.com...
>>I install my application on one machine (backdesk)
>>
>> I create a shortcut pointing to \\backdesk\c:\...\...exe on another
>> machine
>>
>> When I open a form that uses oledb connection I get the message that
>> "Request of permission of type OledbPermission for public key token ....
>> failed
>>
>> 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
>>> news:0114879F-1921-43B1-9997-BB1409DCE086@microsoft.com...
>>> > How can I grant my assembly the required permissions for it to work on
>>> > enery
>>> > machine of a local network
>>> > --
>>> > J.MOUZAKIS
>>>
>>>
>>>
>
>
- Next message: Valery Pryamikov: "Re: Encrypt with .Net, decrypt with Crypto API?"
- Previous message: Nicole Calinoiu: "Re: Permissions"
- In reply to: Nicole Calinoiu: "Re: Permissions"
- Next in thread: Nicole Calinoiu: "Re: Permissions"
- Reply: Nicole Calinoiu: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|