|
|
 |
Course Outline
Offered by Networked Information Services
Instructor: http://www.bu.edu/webcentral/help/
Prerequisites: HTML: Introduction
or equivalent knowledge. Dreamweaver:
Introduction and an account on people.bu.edu, or access to a site on www.bu.edu,
is recommended.
2 hours (45 minutes lecture, 60 minutes hands-on exercises, 5-minute break)

Introduction (10 minutes)
- Why restrict access?
- Format of .htaccess file for restricting access to directories and subdirectories
- Supported software for editing .htaccess file
- Supported browsers for authenticating at BU
Hands-on exercise: Touring restricted directories
(5 minutes)
- Browse to your practice account site on the Web using Internet Explorer
or Netscape.
- Using your BU login name and Kerberos password, attempt to authenticate
to restricted directories in your practice site, noting where authenticating
succeeds and fails.
Options (5 minutes)
- BU Community
- BU Departments
- BU Status
- BU Individuals
- Specific Individuals Worldwide
Note: You can combine several options from the list above. However, you cannot
combine the option for restricting access to specific individuals worldwide
with any other option.
Hands-on exercise: Downloading and reviewing .htaccess
files (15 minutes)
- Connect to your practice site with Dreamweaver, using the practice account
login name and password.
- Download the practice site.
- Set Dreamweaver's File Types preferences to use Dreamweaver to open .htaccess
file.
- Open and review the format of an .htaccess file.
- If time permits, review other .htaccess files you downloaded from your practice
site.
- Kerberos method allows anyone with a BU login name and Kerberos password.
- Domain method allows anyone using a computer on the BU network, including
Dialup service.
- Combining Kerberos and Domain method is usually best.
Hands-on exercise: Restricting to BU community
(10 minutes)
- Create an .htaccess file to restrict access to a practice directory so that
any valid BU login name is allowed access.
- Upload the file to a practice directory and test it using your BU login
name and Kerberos password.
- Modify the file you created previously to allow access from the BU network.
- Restart your browser and test.
- Allows members of any specified BU departments
- Departments determined by department ID (searchable in BU Directory)
Hands-on exercise: Restricting to specific BU departments
(5 minutes)
- Look up your department ID in the BU Directory.
- Create and save an .htaccess file that allows only users who
share your department ID.
- Upload it to a practice directory and test, using your BU login name and
Kerberos password.
- Close and restart your browser and test access again using the practice
account login name and password.
Break (5 minutes)
- Allows anyone matching a specified BU status or substatus
- Status: student, faculty, staff, guest
- Substatus: research scientist, administrative staff, campus police staff,
Building and Grounds staff, registered student
Hands-on exercise: Restricting to specific BU status
(5 minutes)
- Create a new .htaccess file to restrict access by BU status.
- Upload the modified file to the practice site.
- Restart your browser and test using your BU login name and Kerberos password.
- Allows only specific BU login names
- Not practical for large number of individuals
Hands-on exercise: Restricting to specific BU individuals,
combining options (10 minutes)
- Open the .htaccess file you used for restricting by BU status and modify
it to include access for the practice account login name.
- Save your modified file, upload it to a practice directory, restart your
browser, and test using the practice account login.
- Continue experimenting as time permits. For instance, add your department
ID and change the allowed status so that it no longer matches your status.
Then save, upload, and test using your BU login name and Kerberos password
(restart your browser as necessary).
- This option allows access for anyone by means of non-BU, non-Kerberos
login names & passwords (AuthType Basic). It cannot be combined
with other options.
- Format of .htaccess file differs from that of other methods:
no <limit> tag, requires a path to a password file, and
requires a description for the login box.
- Requires that you create, record, and distribute login names
and passwords
- Requires using a command line program on acs3.bu.edu to generate
passwords and to allow server to access the password file.
Hands-on exercise: Restricting to specific
individuals worldwide (10 minutes)
- Create and save an .htaccess file to allow access to individuals
worldwide.
- Upload the .htaccess file to your practice site.
- Telnet to acs3.bu.edu to generate passwords for your login names.
- Check the contents of the directory to confirm that a password
file was generated.
- Set the permissions correctly for the directory.
- Test web access to the restricted directory using the login
name and password you invented.

Supplementary Information: Summary of preparation
and steps (not covered during class)
- Choose from options for restricting access.
- Obtain Tools: You can configure Dreamweaver
to be a convenient platform for working on access-restricted sites.
Otherwise, you will need a text editor (we recommend Notepad for
Windows, BBEdit
for Mac) and an FTP program such as AbsoluteFTP
(Windows) or Fetch (Mac). For AuthType
Basic, you will need to use Telnet or
SSH for command line access.
- Obtain information: If you're specifying individuals or departments
who are allowed access, you'll need login names, BU status, department
IDs, or all of these.
- Follow steps for restricting access with options
that use BU login names and Kerberos passwords for authentication
or steps for restricting access to specific individuals worldwide.
|