File access using ASP.NET

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default File access using ASP.NET

    Hi,

    I've got an ASP application running and want to have it write to a text
    file. I am running VS.NET on WinXP. I was able to set the file permissions
    to allow ASPNET access under Win2000 but when I changed my dev OS to XP, the
    security option is not the same.

    Can any one tell me how to grant ASPNET or IUSER_MACHINE access to write to
    a file?

    Thanks
    Harry


    Harry Guest

  2. Similar Questions and Discussions

    1. Network File access using anonymous access
      I have seen a number of entries related to accessing remote resources (files in my case) that need to reside on a remote server. We must leave our...
    2. Help needed with ASP form browse for file, create link to file and insert in access database
      I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then...
    3. File Access error - writing to .txt file
      Normally web sites run under the ASPNET user account. It appears that this account does not have write privileges to the file path you've...
    4. A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
      Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one...
    5. The File <dbname> isn't an MS Access file or is corrupted
      I have a database that contains data used for testing other software products. There is a main form that allows users to select scenarios they...
  3. #2

    Default Re: File access using ASP.NET

    To add the user(s) that you want you need to first:

    Go to windows explorer .. Tools->Folder Options->View-> and then disable
    "Simple File Sharing" at the bottom of the list.

    You'll then be able to set permissions explicitly for whatever by right
    clicking on a folder and selecting "Security". That should be similar to
    2000's user interface, except when you click "Add User" you should also use
    the "Advanced" view and then "Find Now" will bring up all the users on your
    machine.

    Later,
    Fred


    "Harry" <NOSPAMshao_lin_monk@hotmail.com> wrote in message
    news:eppQ%23UXQDHA.2176@TK2MSFTNGP12.phx.gbl...
    > Hi,
    >
    > I've got an ASP application running and want to have it write to a text
    > file. I am running VS.NET on WinXP. I was able to set the file permissions
    > to allow ASPNET access under Win2000 but when I changed my dev OS to XP,
    the
    > security option is not the same.
    >
    > Can any one tell me how to grant ASPNET or IUSER_MACHINE access to write
    to
    > a file?
    >
    > Thanks
    > Harry
    >
    >

    Fred Palmer Guest

  4. #3

    Default Re: File access using ASP.NET

    thanks guys!!

    "Harry" <NOSPAMshao_lin_monk@hotmail.com> wrote in message
    news:eppQ#UXQDHA.2176@TK2MSFTNGP12.phx.gbl...
    > Hi,
    >
    > I've got an ASP application running and want to have it write to a text
    > file. I am running VS.NET on WinXP. I was able to set the file permissions
    > to allow ASPNET access under Win2000 but when I changed my dev OS to XP,
    the
    > security option is not the same.
    >
    > Can any one tell me how to grant ASPNET or IUSER_MACHINE access to write
    to
    > a file?
    >
    > Thanks
    > Harry
    >
    >

    Harry Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139