I want to upload files in my Asp.net application on server but I have to grant it R/W access so that I or anyone can upload files in it. Is there any way that I write some code or configuration lines in Web.config which solve this permission problem?
A:
You have to set the permissions on the folder for the account under which your application is running. This is an operating system level, and hence nothing can be done about it in Web.config. Be careful to only set the permissions on the one folder though, as your effectively opening it up to the internet through your application.
m.edmondson
2010-09-28 08:16:46