Re: What IIS settings are required to allow file upload? I keep getting 401 error

From: Jeff Cochran (jcochran.nospam_at_naplesgov.com)
Date: 04/30/03


Date: Wed, 30 Apr 2003 14:53:45 GMT


On Wed, 30 Apr 2003 09:31:54 -0400, "Horus Alkebulan"
<halkebulan@adelphia.net> wrote:

>Thanks. How far down the path do I have to set permissions?

Just the folder you're uploading to.

>The web site upload folder path is
>c:\inetpub\wwwroot\IDSM_WebService\uploads. I have Allow Modify permissions
>on this (i.e. \uploads) folder for "Users".

Here's likely your issue. The group "Users" doesn't include the
anonymous web account, the IUSR account. If your users are
authenticating to the system, their authenticated accounts are used,
otherwise it's the IUSR/IWAM accounts that come into play. set
appropriate rights for the appropriate accounts.

Jeff

>The root of the website is http://localhost/IDSM_WebService/. The files are
>being posted to http://localhost/IDSM_WebService/Uploads/.
>
>In the virtual directory settings of the "Uploads" folder, I have "Write"
>checked. I have Integrated Authentication checked and Anonymous unchecked.
>
>Not sure what else to do.
>
>Thanks!
>
>"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
>news:uSFA23sDDHA.2824@TK2MSFTNGP11.phx.gbl...
>> You are doing a HTTP PUT. So, the Write Permission in IIS must be
>allowed,
>> and you need to make sure the user credentials making the PUT request has
>> Modify/Write NT ACLs on the physical directory that you are writing to.
>>
>> --
>> //David
>> This posting is provided "AS IS" with no warranties, and confers no
>rights.
>> //
>> "Horus Alkebulan" <halkebulan@adelphia.net> wrote in message
>> news:Op%23gRGlDDHA.2384@TK2MSFTNGP12.phx.gbl...
>> How do I set directory and file permissions to allow file upload?
>>
>> I have a web service that accepts a byte stream from a .NET windows client
>> and everytime the UploadFile method I get 401 Unauthorized error from IIS
>> 5.1.
>>
>> Running on development platform where all on XP Pro, no domain controller.
>>
>> When I call this code from my windows forms client
>



Relevant Pages

  • Re: Outlook 2003 sends with wrong account
    ... Generally authenticating to the SMTP server is sufficient in solving this ... on between the client and server. ... > both accounts, deleting and reinstalling accounts, and changing which is ...
    (microsoft.public.outlook.general)
  • Re: Authentication
    ... Be careful when you talk of PCs authenticating and users authenticating. ... Machines have accounts and they log in when they boot. ... Be sure you configure the site-IP subnet mappings if you're in a WAN ... > I am interested as we have a WAN environment and want to make sure PC's ...
    (microsoft.public.windows.server.active_directory)
  • Re: samba question
    ... How are the accounts created? ... If they are in the /etc/passwd file only, and samba is authenticating to ... that file (encrypt passwords = No) then you'll need to set the registry ...
    (uk.comp.os.linux)
  • Re: POP3 DNS problem?
    ... > Make sure you are authenticating using the logon email address that is ... > 'Accounts' in AD Users and Computers. ...
    (microsoft.public.exchange.admin)