Strange Permissions problem

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

  1. #1

    Default Strange Permissions problem

    I have a web program which allows the user to select a file on his local
    machine, and then copy it to the Web server. This works fine (using
    PostedFile.SaveAs). But when the same program tries to Delete the file,
    using file.delete, the server says access denied? Any idea how to fix
    this?

    Thanks



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Steven Cohn Guest

  2. Similar Questions and Discussions

    1. Strange MySQL permissions problem
      I'm trying to setup a MySQL database (foo) and user (bar) that will be used to store the data for a PHPBB website. For security reasons, the...
    2. Permissions problem - FTP
      Using Contribute 2 on Windows XP. I have a user that can publish some pages but not others. I gave him rights to edit all files in the site. I...
    3. Permissions Problem ???
      We are experiencing a very weird problem with a new cfmx setup that appears to be a permissions problem. When we start CF as the nobody user, a site...
    4. [PHP] PHP permissions problem
      > * Thus wrote Lowell Allen (la@lowellallen.com): I should have explained that the setup is a problem because the site uses a content management...
    5. PHP permissions problem
      My commercial host is set up with the public root directory, "public_html", owned by user: userid, group: nobody. Directories I create within...
  3. #2

    Default Re: Strange Permissions problem

    Steven,

    I'm having the same problem trying to save the file to the a directory
    inside the root of the web app. I can PostedFile.SaveAs
    to the root directory of the server all day long like C:\UploadedFiles\ but
    if i try to upload from a client to C:\inetpub\wwwroot\wepapp\UploadedFiles
    i get permission denied. I've openned up every security setting i know off.
    What am i missing??

    TIA
    Harry


    "Steven Cohn" <scohn@idtdna.com> wrote in message
    news:OqJUCOUfDHA.2236@TK2MSFTNGP12.phx.gbl...
    > I have a web program which allows the user to select a file on his local
    > machine, and then copy it to the Web server. This works fine (using
    > PostedFile.SaveAs). But when the same program tries to Delete the file,
    > using file.delete, the server says access denied? Any idea how to fix
    > this?
    >
    > Thanks
    >
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Harry Simpson 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