Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can users authenticated using forms authentication upload files

Status
Not open for further replies.

mit99mh

Programmer
Sep 24, 2002
246
GB
I have a required for users who have been authenticated using forms authentication to be able to upload files from their desktop - I can set a folder to use the aspnet account but I want the user to be able to upload any files from their desktop or other drives.

Any help much appreciated.
 
Since it's the ASPNET account that must be able to write to the directory to save uploaded files, the actual account/roles/permissions of the actual user of the web site does not matter. Is that what you are asking?

I just give [MACHINENAME]\ASPNET full control of the folder where the uploaded files will go.

I suppose using impersonation could complicate this, too - there are some others here with more knowledge on that...

Greetings,
Dragonwell
 
Thanks for replying I'll give a little more information.

Certain users can upload documents - eg administrators - these users log in and should be able to use <input type="file" > as a server control to upload files to the server.

I've been asked for these authenticated users to be able to upload files from their machine from anywhere - desktop, diskdrive etc - I set up a folder from which they could upload that the aspnet user account could access but what is required is the ability to upload from anywhere on the client machine not just this folder - When I tried this I kept getting access denied errors.

I hope this clarifies my post and once again thanks for replying.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top