Execute rights only for web app using CAS in assembly file???

K

Kevin

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)>

Kevin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top