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

From: Kevin (Kevin_at_discussions.microsoft.com)
Date: 03/29/05

  • Next message: andrew lowe: "Custom principles and DnsPermission.Demand()"
    Date: Mon, 28 Mar 2005 14:57:02 -0800
    
    

    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


  • Next message: andrew lowe: "Custom principles and DnsPermission.Demand()"

    Relevant Pages

    • Execute rights only for web app using CAS in assembly file???
      ... 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. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Application_End not firing
      ... changing the web.config both of which are supposed to stop the web app. ... in the event and running in debug mode but the breakpoint is never hit. ... The code that I actually need to execute at application_end is to shutdown a ... the component getting shutdown it is throwing the threadabort exceptions ...
      (microsoft.public.dotnet.framework.aspnet)
    • RE: Application_End not firing
      ... Hi Chris, I have run into the same thing, unfortunately still have not come ... > changing the web.config both of which are supposed to stop the web app. ... > The code that I actually need to execute at application_end is to shutdown a ... > the component getting shutdown it is throwing the threadabort exceptions ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Multi threaded app database access
      ... what issues I should look for for in regards to a multi threaded app. ... A web app with DB access faces the very same issues, ... I would keep the DB access class as a stateless class, ... ICommand that just execute using the selected way ( ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: User with privilege on a stored procedure in SQL Server 2000 / 200
      ... Permissions from All Tasks ... Then turn on Basic Auth on your web app, with Identity Impersonate = True in ... To execute that stored procedure in the client application, ...
      (microsoft.public.dotnet.framework.adonet)