Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > account ASPNET cannot write file to sub folder

Reply
Thread Tools

account ASPNET cannot write file to sub folder

 
 
xin.yadong@gmail.com
Guest
Posts: n/a
 
      05-22-2008
Hi:
I have a web application (.NET 2.0), which allow user to create a
txt file and write to a sub folder under my web application on server
side. I have grant full permission of this sub folder to account
ASPNET, but wouldn't get succeed. But after I grant write permission
for acount machineName\Users to this sub folder, it worked. All the
setup about my web application are setted by deault, the security
setup for my web application is normal, and running under the machine
accont by default as well. Did anybody know WHY. Since I am not
comfortable to let user account machinName\Users to have permission to
access this sub folder.


Thanks

Lu
 
Reply With Quote
 
 
 
 
xin.yadong@gmail.com
Guest
Posts: n/a
 
      05-22-2008
Just found the way to fix the problem, on IIS 6. we have to grant
permission to user account "network service" instead of "ASPNET".
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Death To Sub-Sub-Sub-Directories! Lawrence D'Oliveiro Java 92 05-20-2011 06:50 AM
Recognising Sub-Items and sub-sub items using xslt Ben XML 2 09-19-2007 09:35 AM
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS? torus@tpg.com.au ASP .Net 7 03-23-2007 04:00 AM
ASPNET account and NT Authentication with SQL Server -Account Locked Out ryan.d.rembaum@kp.org ASP .Net Security 4 09-15-2005 06:51 PM
Using LogonUser API in ASP.net with an account other than ASPNet account nilapenn ASP .Net Security 3 02-14-2005 02:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57