12.25. Configuring FTP Authentication
You want to authenticate users before they can access content on your FTP server.
Using a graphical user interface
Open Internet Information Services (IIS) Manager.
In the left pane, expand the console tree and select the FTP Sites node.
Right-click on your FTP site and select Properties.
Select the Security Accounts tab.
To allow anonymous users access to your FTP site, select Allow anonymous connections.
To force users to supply credentials to access your FTP site, deselect Allow anonymous connections.
' This enables anonymous-only access to a web site ' and configures the default user account and password. ' ------ SCRIPT CONFIGURATION ------ strComputer = "
<ServerName>" strSiteID = "
<SiteID>" ' ------ END CONFIGURATION --------- set objFtpSite = GetObject("IIS://" & strComputer & "/MSFTPSVC/" & strSiteID) objFtpSite.AllowAnonymous = True objFtpSite.AnonymousOnly = True objFtpSite.AnonymousUserName = "DOMAIN\iisuser" objFtpSite.AnonymousUserPass = "!!sUser" objFtpSite.SetInfo WScript.Echo "Successfully modified Anonymous settings for: " & _ objFtpSite.ServerComment
If anonymous connections are disabled, users are authenticated to your site using Basic Authentication. In this situation, the user is prompted for the credentials of his Windows user account. When the user enters his credentials and clicks OK, the user's password will be appended to the URL and transmitted in clear text across the network, which ...