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

Discussion in 'ASP .Net Security' started by Kevin, Mar 28, 2005.

  1. Kevin

    Kevin Guest

    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
     
    Kevin, Mar 28, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cas in python

    , Jul 5, 2006, in forum: Python
    Replies:
    2
    Views:
    388
  2. Replies:
    0
    Views:
    922
  3. pkellner
    Replies:
    0
    Views:
    525
    pkellner
    Apr 27, 2007
  4. cyber1boy

    JIRA and CAS

    cyber1boy, Feb 19, 2008, in forum: Java
    Replies:
    3
    Views:
    611
    cyber1boy
    Feb 25, 2008
  5. David Thielen

    shared assembly, CAS, etc.

    David Thielen, Jul 14, 2009, in forum: ASP .Net
    Replies:
    3
    Views:
    294
    Steven Cheng
    Jul 15, 2009
Loading...

Share This Page