Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)
From: Nicole Calinoiu (calinoiu)
Date: 11/06/04
- Next message: Jacobo Rodriguez Villar: "Re: Game Developer Question...."
- Previous message: Josip Medved: "Memory Leak in IDE"
- In reply to: Richard Blewett: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Next in thread: Richard Blewett [DevelopMentor]: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Reply: Richard Blewett [DevelopMentor]: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Nov 2004 09:09:18 -0500
That's not quite right either. The implicit permission refusal takes effect
as soon as a single RequestOptional is specified. It is not necessary to
use even one RequestMinimum in order for this to happen.
In addition, there is a set of permissions that will still be grantable even
under RequestOptional use. These include SecurityPermission.Execution and
the identity permissions (e.g.: StrongNameIdentityPermission for the
assembly's strong name, if it has one).
"Richard Blewett" <richard@dotnetconsult.co.uk> wrote in message
news:Obw6d09wEHA.1260@TK2MSFTNGP12.phx.gbl...
> Nice article ... one comment inline ...
>
>>
>> There are 3 types of requested permissions which can be granted on
>> assembly
>> :
>>
>> Minimum permissions: (RequestMinimum) Permissions your code must have in
>> order to run.
>> Optional permissions: (RequestOptional) Permissions your code can use,
>> but can run effectively without.
>
> You have to be careful here. If you specify RequestMinimum and
> RequestOptional you have essentially defined the *maximum* permissions
> that the code will run with. All permissions not mentioned in the union of
> these two groups are refused.
>
>> Refused permissions: (RequestRefuse) Permissions that you want to
>> ensure will never be granted to your code, even if security policy allows
>> them to be granted.
>>
>
> Regards
>
> Richard Blewett - DevelopMentor
> http://staff.develop.com/richardb/weblog
>
- Next message: Jacobo Rodriguez Villar: "Re: Game Developer Question...."
- Previous message: Josip Medved: "Memory Leak in IDE"
- In reply to: Richard Blewett: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Next in thread: Richard Blewett [DevelopMentor]: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Reply: Richard Blewett [DevelopMentor]: "Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|