Tech Tip: Share dialing rules/Control access to a portion of a Web site

Windows 2000 Professional: Share dialing rules

Windows 2000 enables users to configure settings to specify which numbers require long distance dialing, set up calling cards for use in dialing, and other telephony settings. While most users don't have problems setting up a dial-up connection, setting area code rules and configuring calling cards can be more difficult.

To save users the trouble, you can create these rules and export them to their systems. If users need to share a calling card, consider duplicating calling card settings from one computer to another.

Configure telephony settings using the Phone And Modem Options applet in Control Panel. Each set of dialing rules is associated with a specific area code, and you can use the Dialing Rules tab to create these rules. The dialing location is typically a descriptive name such as Hotel, Home, New York Office, etc.

After creating and configuring the dialing locations and corresponding rules, you can share the settings by exporting a portion of the registry to a file and importing the file into other systems.

Open the Registry Editor, and navigate to HKEY_CURRENT_USER\Software\
Microsoft\Windows\CurrentVersion\Telephony. The Locations subkey stores the defined dialing locations, and the Cards subkey stores the defined calling cards.

Export the Locations and Cards keys to a file, and import the two registry files on the other systems. If you need to export and import only selected locations or cards, export only the location or card subkey that contains the required settings.

Before importing the file on the target computer, edit the registry file if necessary to place the settings in a key that's not already in use on the target computer. For example, you might change Card0 to Card2 if cards 0 and 1 are in use on the target system.

Note: Editing the registry is risky, so be sure you have a verified backup before making any changes.

Windows 2000 Server: Control access to a portion of a Web site

A Web site is an effective resource for sharing files and information with users on your local network, on the Internet, or both.

But in some cases, you might need to allow only authorized users to access certain portions of a Web site. For example, you might want to make sensitive documents available to a select group of users or post information about a confidential project only to those people working on the project.

Enabling authenticated access to a portion of a Web site is relatively easy. Follow these steps:

  1. Create a folder on an NTFS volume that contains the files for the secure portion of the site, and configure NTFS permissions to restrict access based on individual accounts or a group. Place the content (documents, Web pages, etc.) in the folder.
  2. Open the IIS console, right-click the virtual server, and choose New | Virtual Directory. Create a virtual directory that points to the new folder using the Virtual Directory Creation Wizard.
  3. In the IIS console, right-click the newly created directory, and choose Properties.
  4. On the Directory Security tab, click Edit, deselect the Anonymous Access option, choose one or more authentication methods from the Authenticated Access group, and click OK.
  5. Click OK to close the server's properties, and close the IIS console. Browse to the virtual directory in your Web browser to verify that it prompts you for a username and password to access the directory.

There are other means of controlling access to a portion of a Web site, but these require code development for the site. Disabling anonymous access and controlling access with NTFS permissions requires no Web development capability, and it's the quickest solution.

Editor's Picks

Free Newsletters, In your Inbox