in reply to Security in CGI and User Authentication
When member-only content is accessed, a second script, serveContent, is called, into which is passed the username, a crypted version of the password, and the page which the user is attempting to access, which again checks user authorisation and either displays the requested page or demands the user log in.
Please, correct me if I am not interpreting your words correctly. From what I understand, your navigation frame loads the pages by opening in the display frame an url of the form
If the tokens passed in the GET request are all you need to "authenticate" the user, then be aware that they may be stored in the history and automatic completion of the browser and may be passed as referer header to external sites accessed by the user from your pages.
A more correct (and standard) system requires passing to the client only a randomly generated token which is associated server-side to the userid. Urls become
Of course, this does not guarantee full security, but should be an improvement over your scheme.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Security in CGI and User Authentication
by Anonymous Monk on Dec 04, 2002 at 01:27 UTC |