Microsoft KB Archive/179566

= How to do anonymous uploads =

Article ID: 179566

Article Last Modified on 6/22/2006

-

APPLIES TO


 * Microsoft Site Server 2.0 Standard Edition
 * Microsoft Site Server 3.0 Standard Edition
 * Microsoft Internet Information Server 3.0
 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q179566



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SUMMARY
This article describes how to modify a system so that Microsoft Posting Acceptor 1.01 will accept anonymous uploads.



MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

For Microsoft Internet Information Server (IIS) 3.0:

 Remove the authentication code from any .asp files involved with the upload process (for example, upload*.asp, repost.asp). Set the TargetURL variable to a directory that IUSR_ has write access to. Start In the .asp files involved with the upload process and open the following location in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\WebPost\Acceptors\CPSHost

 Create a new REG_DWORD value named "AllowAnonymous" and set the value to "1" (both without the quotation marks). Restart the computer.

For Microsoft Internet Information Server (IIS) 4.0:

 In the Microsoft Management Console (MMC), create a virtual root with write access permissions (as designated in the MMC).</li> Make sure that the Allow Anonymous option is enabled for the virtual root created, for the /Scripts directory, and for the Web root.</li> In the .asp files involved with the upload process, remove the authentication code.</li> Set the TargetURL variable in the Postinfo.asp and Upload.asp files to a directory that IUSR_ has WRITE access in both the virtual directory settings and in the NTFS file/directory permissions.</li> Start Regedt32.exe, and open the following location in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\WebPost\Acceptors\CPSHost

</li> Create a new REG_DWORD value named "AllowAnonymous" and set the value to "1" (both without the quotation marks).</li> Verify that the IUSR_ and System accounts have WRITE access to the \TEMP directory and to the directory that the TargetURL is pointing to.</li> Verify that your Cpshost.dll file is a newer version than 6.0.86.0. If not, update your version of Posting Acceptor.</li> Restart the computer.</li></ol>

Note: Adding the REG_DWORD value to the registry to allow anonymous uploads does not work with Cpshost.dll version 6.0.86.0.

Keywords: kbinfo KB179566

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.