password

They have: 19 posts

Joined: May 2000

hi
i am using .httaccess on my site
so i would like to know of this exist
a htm file with a form that ask for the password and username instead of that pop up
and it should can remember cookies so the user don't need to enter the information next time he visit the page

doesthis exist?

if not can anyone make it for me?

They have: 193 posts

Joined: Feb 2000

A perl script could take the information submitted in the form and give the user access.

$password = password from form
$user = username submitted to form

print "Location: http://$user:[email protected]/protected_dir";

Only problem: because this would put the password in the URL, it would be cached, and is thus not secure.

Richard

------------------
[email protected]

I need a new signature. Sad

[email protected]

Everyone here has a website. It's just that not all are worth posting (Mine! Smiling).

They have: 568 posts

Joined: Nov 1999

Rickjb: I thought that style of logging in was only for FTP sites only?

They have: 568 posts

Joined: Nov 1999

There are a ton of good password programs out there.

Check www.cgi-resources.com and www.hotscripts.com for links.

They have: 56 posts

Joined: Jul 1999

http://la.skirrow.com/

Neil

------------------
www.pick-and-mix.co.uk - Choose-what-you-want webhosting services.
www.skirrow.com - The webmasters network.
www.cgi-index.com - The CGI Index.
www.123-webmaster.com - Webmaster resources.

DreamStreamUK - The webmasters network.
The CGI-Index.com - Over 200 categories of CGI resources.
Web-ScriptsUK - CGI Scripts for the internet novice.

They have: 193 posts

Joined: Feb 2000

Orpheas,

That method works with .htaccess protected directories too, just make sure that it's http:// and not ftp:// Smiling

Richard

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.