Re: ASP.NET - code access security
From: Rajeev Dubey (anonymous@devdex.com)
Date: 04/09/03
- Previous message: Rajeev Dubey: "Re: Code Access Security"
- In reply to: Vidhya N: "ASP.NET - code access security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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!
- Previous message: Rajeev Dubey: "Re: Code Access Security"
- In reply to: Vidhya N: "ASP.NET - code access security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|