The University of Vermont

Enterprise Technology Services

Restricting Access to Your Web Pages

The easiest way to restrict access to your UVM web pages is to use this on-line utility:

https://www.uvm.edu/htpasswd/

To be more involved in the restriction setup, read the documentaion below, and good luck. The principles involved in page restriction are simple, but there are a lot of messy details and tedious steps that – if not done just so – result in web pages that either everyone can see or no one can see. When it doesn't work, tracking down the reason why is an exercise in frustration.

Introduction

Access to your Web pages can be restricted to a specified domain (for instance, to UVM only) or via password protection. Password protection can be via user names and passwords that you create and manage on your own, or using centrally managed NetIDs.

Where it begins: the .htaccess file

To use either restriction method outlined below, you will need to create a file titled .htaccess and place it into each folder where the pages you wish to restrict are located. This file is a text file and can be created in a text editor such as Notepad (for Windows) or TextEdit (for Macintosh).

Note: it you already have an .htaccess file in your Web folder, you should edit the existing file rather than replace it.

Password Restriction

Advantages Disadvantages
  • Access can be restricted to names and passwords that you create
  • Access can be restricted to centrally-managed UVM NetIDs and passwords (or a subset thereof)
  • Access is available to anyone with Internet access (off-campus and on-campus)
  • A user must enter a username and password to access pages
  • The Web site administrator must manage user accounts and password files (except in the case of NetID authentication)
> Continue to setup instructions for restrictions based on names/passwords you create.
> Continue to setup instructions for restrictions based on existing UVM NetIDs/passwords.

Domain Restriction

Advantages Disadvantages
  • Invisible to users
  • Can restrict access to members of the UVM community or other domains
  • Pages cannot be accessed from computers not located on the domain specified
  • Pages cannot be restricted to or from specific individuals that might have access via the specified domains
> Continue to setup instructions for domain-based restrictions.

Last modified November 04 2009 01:24 PM

Contact UVM © 2009 The University of Vermont - Burlington, VT 05405 - (802) 656-3131