Security  

Support Topics: Security: How to: Password protect a directory

What you would use this for: To prompt visitors to enter a correct username and password to gain access to a specific directory.

What you need:
An FTP client (Transmit - external link)
A text editor (TextWrangler - external link)

1.In the "htaccess and htpasswd generation form" below, use the following settings:

Path: /Library/WebServer/WebSites/YourUsername/public_html/YourFolder
(replace "YourUsername" with your ftp username the you use for your site, and "YourFolder" with the folder you are password protecting. The rest of the path should be typed in exactly as above.)
Username: Put the username you would like to use to protect this directory
Password: Put the password you would like to use to protect this directory

Click the "Generate" button.

htaccess and htpasswd generation form:
Path:
Username:
Password:

Support Topics

Blogs
Calendars
E-Commerce
Email
Form to Email
Guestbooks
Hit Counters
MacHighway Banners
Mailing Lists
Message boards and Forums
PERL
PHP & MySQL
Security
Site Wide Search Engines
Spam
SSL
Traffic Reports
Uploading / Publishing
Video
WebDAV