HighTechTalks DotNet Forums  

File permissions for FileUpload

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss File permissions for FileUpload in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Jay
 
Posts: n/a

Default File permissions for FileUpload - 04-04-2005 , 04:55 PM






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



Reply With Quote
  #2  
Old   
Alvin Bruney [MVP - ASP.NET]
 
Posts: n/a

Default Re: File permissions for FileUpload - 04-08-2005 , 08:44 PM






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

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc
"Jay" <AreYouKidding (AT) microsoft (DOT) com> wrote

Quote:
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





Reply With Quote
  #3  
Old   
Teemu Keiski
 
Posts: n/a

Default Re: File permissions for FileUpload - 04-09-2005 , 08:22 AM



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

"Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote

Quote:
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

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc
"Jay" <AreYouKidding (AT) microsoft (DOT) com> wrote in message
news:%23lRKaiVOFHA.3072 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.