Hello! I would like to be able to access a password protected directory by<br>
setting the userid and password within my script (HTML/Java Script/Perl - whatever).<br>
I am creating links (on the fly) to the files in the passowrd protected directory <br>
if the user is a valid member (based upon a database lookup). The members' <br>
userid and password IS NOT the same as the userid and password to access the<br>
directory as there are many members - one directory (therefore one userid and <br>
password).<br>
<br>
Sure, I could simply create the link as follows provided the member is valid:<br>
<br>
http://userid:password@www.domain.com/file.html<br>
<br>
but then everyone knows the userid and password and can send it to anyone. <br>
Is there an HTTP variable that I can set that tells the server the user is valid?<br>
Something that will simply allow me to create the link as:<br>
<br>
http://www.domain.com/file.html<br>
<br>
Or - is there a way to encrypt the userid and password in the URL?<br>
<br>
Thanks!<br>
CA<br>