How can I tell waht permissions an assembly requires?

  • Thread starter Thread starter Earth Worm Jim
  • Start date Start date
E

Earth Worm Jim

Is there a tool that tells me what permissions my assembly requires?

I have add [assembly: PermissionSet(SecurityAction.RequestOptional,
Unrestricted=false)] to deny all permissions I just want to now grant one I
require?


Cheers

Earth Worm Jim
 
"Earth Worm Jim" said:
Is there a tool that tells me what permissions my assembly requires?

I have add [assembly: PermissionSet(SecurityAction.RequestOptional,
Unrestricted=false)] to deny all permissions I just want to now grant one I
require?

PermView.exe
 
nope, as far as I can see that tells you what permissions your assembly has
applied, not the permissions that it requires...

Am I wrong?


Patrick Steele said:
"Earth Worm Jim" said:
Is there a tool that tells me what permissions my assembly requires?

I have add [assembly: PermissionSet(SecurityAction.RequestOptional,
Unrestricted=false)] to deny all permissions I just want to now grant one I
require?

PermView.exe
 
"Ollie" <why do they said:
nope, as far as I can see that tells you what permissions your assembly has
applied, not the permissions that it requires...

Hmmmm... Perhaps this is just semantics, but if you "apply" an
attribute requesting a certain permission (because you "require" that
permission for your application), won't PermView do what the OP is
looking for?
 
The problem is I want to deny all permissions and then be able to evaluate
an assembly and generate a list of permissions it requires and then apply
those permissions explicitly.

Ollie
 
"Ollie" <why do they said:
The problem is I want to deny all permissions and then be able to evaluate
an assembly and generate a list of permissions it requires and then apply
those permissions explicitly.

I don't of any automatic way of doing that. Would be pretty cool
though! :)
 
Back
Top