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 


September 2000

Using the Permissions Wizard

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

The Windows 2000 Resource Kit

IIS 5.0 includes a new option—the Permissions Wizard. This Microsoft Windows 2000 Resource Kit utility is an alternative to Internet Service Manager (ISM), which forces you to walk through the process of setting permissions manually. The Permissions Wizard automates many of the permissions-related tasks that you use ISM to perform. For example, to set permissions, you might need to access two dialog boxes in ISM, whereas the wizard can perform the same task in one step. Because the Permissions Wizard depends on the IIS security system, you can't make any changes with it that you can't make directly with ISM.

You can use the Permissions Wizard to

  • Set the security of a virtual directory or Web site
  • Set a site to inherit its security settings from its parent

Using the Permissions Wizard, you can select the scenario in which you're using the virtual directory and set the permissions from a template that matches that scenario.

IIS comes with three default templates:

  • Public FTP Site—sets the site for public access over the Internet
  • Public Web Site—sets the virtual directory to allow Anonymous users
  • Secure Web Site—sets the virtual directory to allow only users with Win2K user accounts to view content in the virtual directory

IIS stores these templates in the IIS metabase. A template contains access control permissions, authentication methods, and IP address restrictions properties. The templates don't create new types of security settings; instead, you use them to set the standard IIS settings. These authentication methods are the same as those you can use ISM to set.

The Permissions Wizard sets all the IIS security properties in a few steps. (The wizard can set NTFS permissions only on directories and files.) The time you save when you use the wizard becomes important when you consider how long it takes to individually configure a group of Web sites or virtual directories that all share the same permissions. With the Performance Wizard, you can set the same permissions for each of these entities simply by selecting the same template.

Permissions Wizard Template Maker
To create new or modify existing permissions templates, you can use another resource kit utility—Permissions Wizard Template Maker. Permissions Wizard Template Maker makes it easy to create custom templates for server farms or any group of sites that require the same type of security. To install Permissions Wizard Template Maker, follow these steps:

  1. Insert the resource kit CD-ROM, then click Browse.
  2. Navigate to the <cdroot>\appsiispermwizard\x86 directory.
  3. Double-click setup.exe, then follow the directions on your screen.

Using Permissions Wizard Template Maker
Before you run the wizard, be sure to back up the metabase. To begin creating or modifying a template, start Permissions Wizard Template Maker from ISM by selecting IIS Permissions Wizard Template Maker from the Programs folder you selected when you installed the utility. On the first page of the wizard, click Next to access the Creating and Editing Templates page, which Figure 1 shows. On this page, you can either edit an existing template or create a new one. For this example, choose the Design New Template option. Select either FTP Site or Web Site, depending on the type of site to which you'll apply your template. Click Next.

On the wizard's next page, select the authentication options for the template. Although you can set any authentication option on this page, particular options might not be available on the server to which you apply the template. For example, you can select Digest authentication for a template, but unless the server to which you apply the template is part of a domain, Digest authentication won't work. (Digest authentication works only with domain accounts, and Permissions Wizard Template Maker apparently doesn't take this fact into account when it presents the authentication options.)

When you've established the authentication settings, click Next to bring up the Access Permissions page. This page lets you set the permissions for the directory. Select your permissions, then click Next to access the IP Address and Domain Name Restrictions page, which Figure 2 shows.

On the Restrictions page, you can set a filter for who can access your site by either granting or denying access by IP address or domain name. To set the filter, you must select either the Granted Access or Denied Access option and enter the applicable addresses, computer names, and domain names. Click Next.

On the next page, select a name for the template. You can also enter a description for the template. Click Next, then click Finish.

Editing existing templates. In addition to creating new templates, you can edit existing templates. When you edit a template, the tool edits the existing template and doesn't save a copy of the original template. To edit a template, start Permissions Wizard Template Maker, then click Edit Existing Template on the second page of the wizard. Select the template to edit. From this point on, your choices are the same as those for a new template. Click Finish to update the template.

Using Permissions Wizard Templates
To use your new template, start the Permissions Wizard in ISM and click Next on the first page. Choose the Select new security settings from a template option, then click Next to bring up the Site Scenario page, which Figure 3 shows. Select your template from the Scenario list box. Click Next.

On the next page, choose the directory and file permission options (e.g., Replace all file and directory permissions), then click Next. Click Next again, then click Finish to apply the permissions to the site or virtual directory you selected.

Using inherited permissions. You can also use the Permissions Wizard to return the settings for a virtual directory or site to its parent. To reset the permissions to Inherited, start the Permissions Wizard and click Next on the first page. On the second page, click Inherit all security settings, then click Next. Select the file permissions, then click Next. Click Next again, then click Finish to apply the permissions. When you apply a template to a directory or Web site, all the directories or Web sites that inherit settings from your selected directory or Web site also inherit the settings from that template. Directories or Web sites that don't inherit settings aren't affected.

Permissions Wizard Limitations
The Permissions Wizard lets you either use templates or inherit security settings from the parent of a virtual directory or site. This functionality doesn't prevent you from using ISM to change those permissions at a more granular level after you've run the Permissions Wizard. The wizard sets many properties, but it's an automation tool and doesn't completely replace or control these settings.

The wizard has one drawback. As I mentioned, IIS stores the templates in the metabase. As a result, multiple computers can't easily share them, which makes it difficult to create a template and then use it to configure several different systems. Other add-on tools that Microsoft provides, such as the Security Toolset, let you configure these systems nicely. Be aware of this limitation before you spend a lot of time building templates.

End of Article



Reader Comments

You must log on before posting a comment.

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




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

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

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Related Events Securely Extend SharePoint to the Extranet

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