Re: authentication via login form

1999-10-13 Thread Gunther Birznieks
On Mon, 11 Oct 1999, Ofer Inbar wrote: Eugene Sotirescu [EMAIL PROTECTED] wrote: [...snipped...] When a browser session comes in without appropriate authentication cookies, they get a login screen. When they post username and password, check that against the locally stored user table, and

Re: authentication via login form

1999-10-13 Thread Ofer Inbar
Gunther Birznieks [EMAIL PROTECTED] wrote: On Mon, 11 Oct 1999, Ofer Inbar wrote: Eugene Sotirescu [EMAIL PROTECTED] wrote: [...snipped...] When a browser session comes in without appropriate authentication cookies, they get a login screen. When they post username and password,

Re: authentication via login form

1999-10-12 Thread Rauznitz Balazs
--- "Randal L. Schwartz" [EMAIL PROTECTED] wrote: I was actually looking at a PerlTransHandler that I'd drop into my site-wide files that would do something like the following: my $uri = $r-uri; if ($uri =~ s#/@@(\d+)@@/#/#) { $session = $1; $r-uri($uri);

Re: authentication via login form

1999-10-11 Thread Ajit Deshpande
On Sun, Oct 10, 1999 at 12:34:56AM -0700, Randal L. Schwartz wrote: "Jeffrey" == Jeffrey W Baker [EMAIL PROTECTED] writes: Jeffrey Cookies are an acceptable way to make the browser remember Jeffrey something about your site. Speak for yourself. I'd change that to "... one possible way

Re: authentication via login form

1999-10-11 Thread Randal L. Schwartz
"Jeffrey" == Jeffrey W Baker [EMAIL PROTECTED] writes: Jeffrey Randal, how do you suppose that HTTP basic auth works? The Jeffrey user agent stores the username and password and transmits Jeffrey them to the server on every request. The difference between a cookie and a basic-auth password is

Re: authentication via login form

1999-10-11 Thread Randal L. Schwartz
"John" == John D Groenveld [EMAIL PROTECTED] writes: John Well if you're going to generate your HTML on the fly, URL mangling John isn't too bad. HTML::Mason and probably the other embedded perl modules John would allow you to more selectively and consistently place session id John into your

Re: authentication via login form

1999-10-11 Thread Dave Hodgkinson
"Jamie O'Shaughnessy" [EMAIL PROTECTED] writes: On 11 Oct 99 15:05:23 +0100, you wrote: I was actually looking at a PerlTransHandler that I'd drop into my site-wide files that would do something like the following: my $uri = $r-uri; if ($uri =~ s#/@@(\d+)@@/#/#) {

Re: authentication via login form

1999-10-11 Thread Michael Peppler
Dave Hodgkinson writes: "Jamie O'Shaughnessy" [EMAIL PROTECTED] writes: On 11 Oct 99 15:05:23 +0100, you wrote: I was actually looking at a PerlTransHandler that I'd drop into my site-wide files that would do something like the following: my $uri = $r-uri;

Re: authentication via login form

1999-10-11 Thread Dave Hodgkinson
Michael Peppler [EMAIL PROTECTED] writes: Don't use the IP address. Some proxy systems have a non-static IP address for requests coming from the same physical client (some of AOLs proxies work that way, if I remember correctly...) "...or something..." ;-) -- David Hodgkinson, Technical

Re: authentication via login form

1999-10-11 Thread James G Smith
Dave Hodgkinson [EMAIL PROTECTED] wrote: Michael Peppler [EMAIL PROTECTED] writes: Don't use the IP address. Some proxy systems have a non-static IP address for requests coming from the same physical client (some of AOLs proxies work that way, if I remember correctly...) "...or

Re: authentication via login form

1999-10-11 Thread Ofer Inbar
Eugene Sotirescu [EMAIL PROTECTED] wrote: I'd like to authenticate users via a login form (username, password text fields) instead of using the standard dialog box a browser pops up in response to a 401 response code. Here's what I do in an application I'm currently working on... Application

Re: authentication via login form

1999-10-10 Thread Randal L. Schwartz
"Jeffrey" == Jeffrey W Baker [EMAIL PROTECTED] writes: Jeffrey Cookies are an acceptable way to make the browser remember Jeffrey something about your site. Speak for yourself. I'd change that to "... one possible way ..." instead of "acceptable way", and add "... for a single session".

Re: authentication via login form

1999-10-10 Thread Spidaman The Defenestrator
The point that should be taken is that if one must use a cookie for auth, expire it early and often. What would _really_ be nice is if there were a javascript or ecmascribble or whatever it's called object that can _set_ or _unset_ the auth request headers so one _could_ do a form driven

Re: authentication via login form

1999-10-10 Thread Gunther Birznieks
On Sun, 10 Oct 1999, Spidaman The Defenestrator wrote: [...snip...] But I digress. Go ahead, use cookies and mangle them into auth headers but make sure they aren't persistent cookies. And don't use this level of security for banking or commerce; those get mangled URL paths. In a self

Re: authentication via login form

1999-10-10 Thread Jeffrey W. Baker
"Randal L. Schwartz" wrote: "Jeffrey" == Jeffrey W Baker [EMAIL PROTECTED] writes: Jeffrey Cookies are an acceptable way to make the browser remember Jeffrey something about your site. Speak for yourself. I'd change that to "... one possible way ..." instead of "acceptable way", and

Re: authentication via login form

1999-10-10 Thread Jeffrey W. Baker
Andrew McNaughton wrote: Gunther Birznieks [EMAIL PROTECTED] wrote: [2] Mangled URL Paths Isn't it possible to browse the history on the harddrive... so is this really more secure than non-persistent cookies? Relying on browser based client side expiration is not a good idea, either

Re: authentication via login form

1999-10-10 Thread Jeffrey W. Baker
Spidaman The Defenestrator wrote: The point that should be taken is that if one must use a cookie for auth, expire it early and often. What would _really_ be nice is if there were a javascript or ecmascribble or whatever it's called object that can _set_ or _unset_ the auth request headers

Re: authentication via login form

1999-10-10 Thread Eugene Sotirescu
Many thanks to all who replied. 1. I think I can summarize the responses so far as boiling down to how I do session management (hidden fields, URL mangling, cookies) and that I will have to develop my own authentication mechanism. (The reason I hoped there might be a solution using Apache's

authentication via login form

1999-10-09 Thread Eugene Sotirescu
I'd like to authenticate users via a login form (username, password text fields) instead of using the standard dialog box a browser pops up in response to a 401 response code. Can this be done while still using Apache's authentication mechanism? I understand that authentication happens in 2