Article ID: 239875 - Last Review: July 3, 2008 - Revision: 6.1 HOW TO: Use ASP to Force SSL for Specific PagesThis article was previously published under Q239875 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.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
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSUMMARY
It is frequently good security practice to require Secure Sockets Layer (SSL) for certain pages on a Web site. Although this can be configured through the Internet Services Manager (ISM) in the Microsoft Management Console (MMC), you can also use Active Server Pages (ASP) to force SSL for specific pages without making changes in the MMC.
PrerequisitesThis article assumes the following conditions:
Forcing SSL using ASPTo force SSL using ASP, follow these steps:
REFERENCES187504
(http://support.microsoft.com/kb/187504/EN-US/
)
HTTP 1.1 Host Headers Are Not Supported When You Use SSL
228991
(http://support.microsoft.com/kb/228991/EN-US/
)
How to Create and Install an SSL Certificate in Internet Information Server 4.0
228836
(http://support.microsoft.com/kb/228836/EN-US/
)
Installing a New Certificate with Certificate Wizard for Use in SSL/TLS
257591
(http://support.microsoft.com/kb/257591/EN-US/
)
Description of the Secure Sockets Layer (SSL) Handshake
| Article Translations
|
Back to the top
