Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 2002

Using CTLs to Restrict Web Site Access

RSS
Subscribe to Windows Web Solutions | See More IIS and Web Administration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

I want to restrict access to a portion of my Web site so that only those users to whom I issue a certificate can access the site. My suppliers will then be able to access my purchase-order system without having to authenticate. I know that you can use this configuration with Active Server Pages (ASP) applications, but can you configure IIS to accept connections from clients that present a client certificate that I issued?

Yes. You can use a certificate trust list (CTL) to restrict access to site content to only those clients that can present a certificate from a designated Certificate Authority (CA)—in this case, your certificate server.

Setting up a CTL is easy, and you can do it in both IIS 5.0 and IIS 4.0. I focus on the IIS 5.0 process. First, you need to enable Secure Sockets Layer (SSL) on your Web site. The property pages that you need to access to configure a CTL aren't available until you've installed a certificate on the Web site. (For detailed instructions about installing a certificate on IIS 5.0, see the Microsoft article "HOWTO: Set Up SSL Using IIS 5.0 and Certificate Server 2.0" at http://support.microsoft .com/default.aspx?scid=kb;en-us;q299525. For a walk-through of certificate installation on IIS 4.0 machines, see my article "How to Install SSL—Part 1: The New Key Request" at http://www.iisanswers.com/top10faq/t10-how_to_instal_%20ssl_part1- key_request.htm.)

After you've installed the server certificate, you can create the CTL. Access the Web site's Properties dialog box, then click the Directory Security tab. Click Edit under Secure Communications. (Note that the Edit button isn't enabled unless you've installed a certificate on the site.) On the Secure Communications dialog box, which Figure 2, page 7, shows, select the Enable certificate trust list check box, then click New to launch the Certificate Trust List Wizard. When the wizard starts, click Next, then click Add from Store to select the certificate that you want to require for access to the Web site, as Figure 3 shows. Click OK twice; the selected certificate will appear in the Current CTL certificates list. Click Next, then type the friendly name for the CTL. (The friendly name is used only for your reference in the UI.) Click Next, click Finish, then click OK.

Next, you need to provide instructions to your clients about how to request a certificate from your certificate server (or the CA that you designated in the CTL). Microsoft Certificate Server for Windows 2000 and Windows NT includes a Web-based application that makes this process fairly easy. Detailing the step-by-step process for requesting and installing a client certificate is beyond the scope of this answer, but the process is similar to requesting and installing a server certificate. Simply connect to http://certficateservername/certsrv, where certificateservername is the name of the Web server that's hosting the certificate server, and complete the forms you see there.

Now, when IIS receives a request for access to this Web site's content, the server will query the client's certificate and verify that the designated certificate server issued the certificate. You can combine CTLs with other forms of authentication if you want to provide greater security.

End of Article



Reader Comments
To the Point!

osuide May 22, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing