Login to Homer : Type "q" and then "s" to get to Unix
Move to public_html : cd public_html
Create an .htaccess file: use the pico editor to create a small file:
Type "pico .htaccess" and add the text:
AuthType Basic
AuthUserFile .htpasswd
AuthName My Files
require user abc
CTRL-x To exit Pico
Create a password : htpasswd -c .htpasswd xyz
For a full discussion of controlling access and more options, see:
Controlling Access to Web Pages
Let us suppose that your UW NetID is "johndoe", and you currently have an MS WORD file named "my.doc" that you wish to make available. You do this:
Use SSH Secure FTP : Click the SSH Secure FTP icon on your PC, and
in the window that opens up, connect to
Homer. Your PC files appear in the left
window and your Homer files are in the right
window. Drag the "my.doc" file in your PC
window to the "public_html" directory in your
Homer window.
Insure/set permissions: While still in SSH Secure FTP, in the Homer
window double-click on "public_html" to open
it, locate "my.doc" and right-click on it
and click on "Properties". Read permission
should be set for Owner, Group, and Other.
If not, set them.
Use SSH Secure FTP : Click the SSH Secure FTP icon on your PC and
connect to Homer. In the Homer window, navigate to
"public_html", locate "my.doc", right-click on it,
and select "Delete"
In any browser they type the URL : staff.washington.edu/johndoe
The Web browser prompts them with: a window named "My Files" (in this
case), and asks for
User name: [ ]
Password: [ ]
They type in the correct values : User name: [ abc ]
Password: [ xyz ]
and click [OK]
They double click on a file : (to view the file)
They right click and select
Save Target As... : (to save it to their PC)
Note: this assumes they are using
Internet Explorer; other Web browsers
may word the save command differently