Re: Authentication issue

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 63776
interpreted = N
texte = 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 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)
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 Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

[WebDNA] WebDNA slow processing (2011) Moment of Thanks (1997) Cart/ Form Use (1998) Smart caching problems with 2.1b3? (1997) WC2.0 Memory Requirements (1997) RSS Reader - WebDNA (2007) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) notification solutions (1997) [WebDNA] Range calculation w/negative values (2011) WebCatalog NT beta 18 problem (1997) suffix mapping, use of cache, etc. (1997) Different Email recipients? (1998) Webstar 1.3.1 PPC (1997) shoppingcart reload qty (1997) WebCat on Linux (2000) Beta Documentation (1997) WriteFile and returns... (2000) Progress !! WAS: Trouble with formula.db (1997) Formating Tables w/[founditems] (1998) A question on sub-categories (1997)