account ASPNET cannot write file to sub folder

Discussion in 'ASP .Net Security' started by xin.yadong@gmail.com, May 22, 2008.

  1. Guest

    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
    , May 22, 2008
    #1
    1. Advertising

  2. Guest

    Just found the way to fix the problem, on IIS 6. we have to grant
    permission to user account "network service" instead of "ASPNET".
    , May 22, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    7
    Views:
    627
    Juan T. Llibre
    Mar 23, 2007
  2. Ben
    Replies:
    2
    Views:
    867
  3. Lawrence D'Oliveiro

    Death To Sub-Sub-Sub-Directories!

    Lawrence D'Oliveiro, May 5, 2011, in forum: Java
    Replies:
    92
    Views:
    1,980
    Lawrence D'Oliveiro
    May 20, 2011
  4. nilapenn
    Replies:
    3
    Views:
    610
    Joe Kaplan \(MVP - ADSI\)
    Feb 14, 2005
  5. Replies:
    4
    Views:
    627
    Paul Clement
    Sep 15, 2005
Loading...

Share This Page