all groups > dotnet security > march 2005 >
You're in the

dotnet security

group:

Need only execute rights for web app. Did I set this up right?


Need only execute rights for web app. Did I set this up right? Kevin
3/28/2005 2:57:02 PM
dotnet security:
I have created a web app and now I want to make sure that it only has execute
rights to run. Below is what I put in the assembly file. Is this correct?

'Allow this web app to execute
<Assembly: Web.AspNetHostingPermission(SecurityAction.RequestMinimum,
level:=Web.AspNetHostingPermissionLevel.Minimal)>
'Refuse everything else...
<Assembly: PermissionSetAttribute(SecurityAction.RequestOptional,
Unrestricted:=False)>

Re: Need only execute rights for web app. Did I set this up right? Nicole Calinoiu
3/30/2005 9:41:32 AM
Minimal AspNetHostingPermission is pretty much the minimum permission set
under which ASPX pages will run, so your attributes are fine if your
intended goal is to specify the most restricted permission set that will
actually allow your code to run.


[quoted text, click to view]

AddThis Social Bookmark Button