Microsoft KB Archive/179566

From BetaArchive Wiki
Knowledge Base


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:

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:

  1. Remove the authentication code from any .asp files involved with the upload process (for example, upload*.asp, repost.asp).
  2. Set the TargetURL variable to a directory that IUSR_<machinename> has write access to.
  3. 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

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

For Microsoft Internet Information Server (IIS) 4.0:

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

    HKEY_LOCAL_MACHINE\Software\Microsoft\WebPost\Acceptors\CPSHost

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

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