Friday, June 5, 2026 Sign InRegister FREE My Account Help
FDN Portal
FDN » IIS » IIS Authentication and SSL

IIS Authentication and SSL

IIS Authentication and SSL

IIS 5.0 supports several authentication methods to control access to web content and applications.

Authentication Methods

MethodDescriptionSecurity
AnonymousUses the IUSR_computername account. No credentials required.None — content is public
BasicUsername/password sent as Base64. Works with all browsers.Low — use only with SSL
DigestPassword sent as MD5 hash. Requires AD accounts.Medium
Integrated WindowsNTLM or Kerberos. Browser negotiates automatically.High — no password on wire
Client CertificatesX.509 certificate presented by the browser.Very High

Configuring Authentication

  1. Right-click the site or directory → PropertiesDirectory Security tab.
  2. Click Edit under "Anonymous access and authentication control".
  3. Uncheck Anonymous access to require authentication.
  4. Check the desired authentication method(s).

Setting Up SSL

  1. Generate a certificate request: Directory Security tab → Server Certificate → Create a new certificate.
  2. Submit the request to a Certificate Authority (Windows 2000 Certificate Services or a public CA like VeriSign).
  3. Install the issued certificate: Server Certificate wizard → Process the pending request.
  4. Enable SSL: Directory Security → Edit under Secure Communications → check Require secure channel (SSL).

Forcing HTTPS Redirect in ASP

<%
If Request.ServerVariables("HTTPS") = "off" Then
    Dim strSecureURL
    strSecureURL = "https://" & Request.ServerVariables("SERVER_NAME") & _
                   Request.ServerVariables("URL")
    If Request.QueryString <> "" Then
        strSecureURL = strSecureURL & "?" & Request.QueryString
    End If
    Response.Redirect strSecureURL
End If
%>
« Previous IIS Metabase Reference
Next » IIS 5.0 Getting Started
More in IIS
« Back to IIS « Back to FDN
FlameNet Weekly: the best of the forum, freshest listings, top Q&A — delivered every Sunday.
13 members · 0 new today · 0 online now · 772 posts in last 24h