Writing to a file from my ASP.NET page

aMies

New Member
Hi again,<BR><BR>My Web application is almost ready, but when I want to write some information in a file I have, I receive the following error: "Access to the path "c:inetpubwwwrootMyWebApplicationXMLpeople.xml" is denied."<BR><BR>And then it comes the blah, blah about ASP.NET, that has limited privileges, etc.<BR><BR>So, I'd like to know: should I impersonate the code that would write into the file to a user with writing access to that file? As impersonation is bad for scalability, is there any alternative solution without breaking the overall security and/or performance? <BR><BR>Thanks in advance!<BR>IonelIf all the hits to your application will be done using the anonymus account so you have to give that account write permission on that file
 
Back
Top