Re: Authentication issue

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 63777
interpreted = N
texte = Thanks Jesse & John. I was hoping I could be lazy and just use the Users.db for authentication. I'll have to encrypt a password for each member into my own members.db & use cookies to bounce anyone without a valid user/pass. Pat On Jan 7, 2006, at 9:53 AM, John Peacock wrote: > Patrick McCormick wrote: > fields [username] and [password] like I expected. I can display >> [username] and [password] within [formvariables], but not by >> themselves >> (!?) > > That's correct because if you name fields like that in a preceeding > form, the > only place they will be valid is within [formvariables]. There is > nothing > special about those field names (you can call them [stanley] and > [ollie] if you > like). > >> Also, the username and password entered into the form seem to be >> independent variables from those entered into an authenticate dialog. > > That is also true, because the *browser* doesn't (in general) > recognize the > fieldnames as being the same as the authentication dialog. > WebDNA's [protect] > tag uses "Basic Authentication" for its operation (you can look it > up with > Google), so you must get the browser involved. > >> How can I synchronize the authentication user/pass with inputs from a >> form? I'd like the values entered into the form on the first page to >> simply handle authentication. > > If this isn't intended to be a very secure method, you can place an > intermediate > page between your "form" and your "[protect]" and redirect like this: > > user:password@http://site/protected/page > > and that will "seed" the browser's authentication cache for > subsequent pages. > If you want to be more secure than that (since there is that single > page which > passes the authentication in the open), you can switch to SSL for > that page or > write your own authentication scheme which uses a cookie instead. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Authentication issue ( Patrick McCormick 2006)
  2. Re: Authentication issue ( John Peacock 2006)
  3. Re: Authentication issue ( Jesse Proudman 2006)
  4. Authentication issue ( Patrick McCormick 2006)
Thanks Jesse & John. I was hoping I could be lazy and just use the Users.db for authentication. I'll have to encrypt a password for each member into my own members.db & use cookies to bounce anyone without a valid user/pass. Pat On Jan 7, 2006, at 9:53 AM, John Peacock wrote: > Patrick McCormick wrote: > fields [username] and [password] like I expected. I can display >> [username] and [password] within [formvariables], but not by >> themselves >> (!?) > > That's correct because if you name fields like that in a preceeding > form, the > only place they will be valid is within [formvariables]. There is > nothing > special about those field names (you can call them [stanley] and > [ollie] if you > like). > >> Also, the username and password entered into the form seem to be >> independent variables from those entered into an authenticate dialog. > > That is also true, because the *browser* doesn't (in general) > recognize the > fieldnames as being the same as the authentication dialog. > WebDNA's [protect] > tag uses "Basic Authentication" for its operation (you can look it > up with > Google), so you must get the browser involved. > >> How can I synchronize the authentication user/pass with inputs from a >> form? I'd like the values entered into the form on the first page to >> simply handle authentication. > > If this isn't intended to be a very secure method, you can place an > intermediate > page between your "form" and your "[protect]" and redirect like this: > > user:password@http://site/protected/page > > and that will "seed" the browser's authentication cache for > subsequent pages. > If you want to be more secure than that (since there is that single > page which > passes the authentication in the open), you can switch to SSL for > that page or > write your own authentication scheme which uses a cookie instead. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Patrick McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Webstar 1.3.1 PPC (1997) Three new problems, maybe a fourth (1997) WebCat for paper collection, review and coordination ? (1998) Feature requests (1998) Re:quit command on NT (1997) Progress !! WAS: Trouble with formula.db (1997) Help! WebCat2 bug (Ben's input) (1997) No comment (1997) WebCat2: Items xx to xx shown, etc. (1997) all records returned. (1997) New index for docs (1997) Add all products to cart at once? (1997) unit ship cost GRRRRRRR! (2001) Tcp connect (2002) [WebDNA] Non-numbers entered into a field that asks for a (2008) [template] tag (1998) RE: MacFinder -- a new WebDNA web site (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Next X hits (1996) Review comparison by PC Magazine: Open for On-line Business (1997)