using htaccess authorization from a cgi script

Rajil Saraswat (rajil@iitk.ac.in)
Tue, 4 Jul 2000 00:58:46 +0530


I am developing an application in which the users have to login thru a cgi
script. onced logged they need to download certain files wherein i have
placed htaccess file(for security). This brings up the authorization
windows and the users have to again login. This causes redundancy.
Is there any procedure wherein i can authenticate the user directly thru
the cgi script using the htaccess file but without the authorization
window.
one way to do this is using a url like
http://username:password@www.site.com
but this shows the password in the url. is there some way i can hide this
password from the url.
Thankx.