Re: ASP.NET - code access security

From: Rajeev Dubey (anonymous@devdex.com)
Date: 04/09/03

  • Next message: Dave S.: "Re: Has anyone used DirectoryEntry() against Novell 5 LDAP?"
    From:     Rajeev Dubey <anonymous@devdex.com>
    Date: Wed, 09 Apr 2003 07:00:40 -0700
    
    

    By default ASP.NET process runs under a ASPNET user which is a local
    user on you machine with limited access. So there is a probability that
    the user under which the ASP.NET process is running is not having write
    permissions on that folder which you are trying to write the file.
    So if you don't want impersonation you can just give ASPNET user the
    write permissions over that folder.
    In fact supporting impersonation and setting the windows authentication
    on is not a good solution because it is not necessary that all the users
    accessing ur web app will have write permission for that folder though
    it works for you because obiviously you have write permissions on your
    c:.

    RD

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!


  • Next message: Dave S.: "Re: Has anyone used DirectoryEntry() against Novell 5 LDAP?"

    Relevant Pages

    • Re: Create a writable folder in aspnet setup project
      ... Use the same method for folder. ... >> the ASPNET user during installation.I've set the writable property ... >> I thought to try and create a custom install action and manipulate ... >> how to change the current access permissions of an existing ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Create a writable folder in aspnet setup project
      ... Use the same method for folder. ... >> the ASPNET user during installation.I've set the writable property ... >> I thought to try and create a custom install action and manipulate ... >> how to change the current access permissions of an existing ...
      (microsoft.public.dotnet.general)
    • Re: Code Access Security
      ... After providing proper permissions to the ASPNET user, ... >write permissions over that folder. ... >In fact supporting impersonation and setting the windows ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Access Network Shares from asp.net
      ... the ASPNET user to be identical for the current user of the web server PC. ... > admins" and each user folder inherits that permission, ... > full access permissions for each user based on the folder. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Code Access Security
      ... By default ASP.NET process runs under a ASPNET user which is a local ... permissions on that folder which you are trying to write the file. ... In fact supporting impersonation and setting the windows authentication ...
      (microsoft.public.dotnet.framework.aspnet.security)