Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / April 2005

Tip: Looking for answers? Try searching our database.

File permissions for FileUpload

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 04 Apr 2005 21:55 GMT
This has to do with uploading files to a folder on the web server.

In http://support.microsoft.com/kb/323246

it indicates that the permissions on the folder you are uploading to should
be set on user  MachineName\ASPNET.  This does not work for me on our
production server.  It does on my development PC.  In order to upload on the
productions server I had to use Everyone with full control.

Any thoughts.

jay
Alvin Bruney [MVP - ASP.NET] - 09 Apr 2005 01:44 GMT
you need to provide the correct account with the appropriate permissions.
you will need to display the account on the page using the
windows.principle.identity (i'm sure this is wrong but you get the idea).
once you see the identity, provide permissions to that identity

Signature

Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc

> This has to do with uploading files to a folder on the web server.
>
[quoted text clipped - 10 lines]
>
> jay
Teemu Keiski - 09 Apr 2005 13:22 GMT
If the production machine is with Windows Server 2003 OS, the user ASP.NET
runs under is NETWORK SERVICE instead of ASPNET (that's for all other OS's).
That's the defaults, of course if there is a custom account specified for
whatever reason, permissions needs to be for it, as Alvin said.

- -
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU

> you need to provide the correct account with the appropriate permissions.
> you will need to display the account on the page using the
[quoted text clipped - 15 lines]
>>
>> jay

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.