Partager via


Enabling Anonymous Access for an FTP Site Configured with Isolate Users Using Active Directory Mode

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008

By default, anonymous access is disabled to sites created in Isolate users using Active Directory mode.

To enable anonymous access for the FTP site configured with Isolate users using Active Directory mode

  • Configure the metabase properties as shown in the following example. You can do so by using the adsutil.vbs SET command-line tool.

    • adsutil set /msftpsvc/6634/AllowAnonymous TRUE

    • adsutil set /msftpsvc/6634/AnonymousOnly FALSE

    • adsutil set /msftpsvc/6634/AnonymousUserName MyDomain\LowPrivUser

    • adsutil set /msftpsvc/6634/AnonymousUserPass PaSsWoRd

Note

When a site is created with Isolate Users Using Active Directory mode, the Path property of the root FTP virtual directory (which, for the other isolation modes identifies the home directory) is set empty. Also, the AccessFlags property of the root FTP virtual directory contains the AccessNoPhysicalDir flag. Do not alter these two values. If you change or remove them, further access to the site is not allowed.