Re: Article: Permissions View Tool (Permview.exe .Net FrameWork Tools Series)

From: Richard Blewett (richard_at_dotnetconsult.co.uk)
Date: 11/06/04


Date: Sat, 6 Nov 2004 08:48:23 -0000

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



Relevant Pages