Re: multiGroupChecker code redundant?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33278
interpreted = N
texte = >the multiGroupChecker code seems to only really need the 3rd section: > >**** > >[showif NotFound=[lookup >db=dir/some.db&lookinField=handle&value=[URL][username][/URL]&returnF >ield=handle¬Found=NotFound]] > >[authenticate Security Check] >[/showif] > >[showif [url][password][/url]![url][lookup >db=dir/some.db&lookinField=handle&value=[URL][username][/URL]&returnF >ield=pass¬Found=NotFoundAmigo][/url]] > >[authenticate Security Check] >[/showif] > > [!]--- START 3rd section---[/!] >[search >db=dir/some.db&wsgroupdatarq=[groups]&eqhandledatarq=[URL][username][ >/URL]&eqPassdatarq=[url][password][/url]] > >[showif [numFound]=0] >[authenticate Security Check] >[/showif] >[/search] > [!]--- END 3rd section---[/!] > >***** > >right? And the rest is simply to reduce server load in the case of >a hacker repeatedly >trying to get in by guessing?No, the first two sections are also to catch empty username/passwords sent from the browser (which is always the case before authentication has occurred). In a [search] context, any search parameter that is blank is treated as don't care, and will be skipped.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multiGroupChecker code redundant? (John Butler 2000)
  2. Re: multiGroupChecker code redundant? (WebDNA Support 2000)
  3. multiGroupChecker code redundant? (John Butler 2000)
>the multiGroupChecker code seems to only really need the 3rd section: > >**** > >[showif NotFound=[lookup >db=dir/some.db&lookinField=handle&value=[url][username][/URL]&returnF >ield=handle¬Found=NotFound]] > >[authenticate Security Check] >[/showif] > >[showif [url][password][/url]![url][lookup >db=dir/some.db&lookinField=handle&value=[url][username][/URL]&returnF >ield=pass¬Found=NotFoundAmigo][/url]] > >[authenticate Security Check] >[/showif] > > [!]--- START 3rd section---[/!] >[search >db=dir/some.db&wsgroupdatarq=[groups]&eqhandledatarq=[url][username][ >/URL]&eqPassdatarq=[url][password][/url]] > >[showif [numFound]=0] >[authenticate Security Check] >[/showif] >[/search] > [!]--- END 3rd section---[/!] > >***** > >right? And the rest is simply to reduce server load in the case of >a hacker repeatedly >trying to get in by guessing?No, the first two sections are also to catch empty username/passwords sent from the browser (which is always the case before authentication has occurred). In a [search] context, any search parameter that is blank is treated as don't care, and will be skipped.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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://search.smithmicro.com/ WebDNA Support

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:

NEW INFO: I'm stuck: Can't open order file. Ignoring (2000) customer.db and forms (1999) Merging databases (1997) Setting up WebCatalog with Retail Pro data (1996) XHTML Compliant Links (2007) Weird Cookie Problem Part 2 (2007) Error:Too many nested [xxx] contexts (1997) WCS Newbie question (1997) [ShowIf] and empty fields (1997) Field names beginning with Reg.. (2002) DON'T use old cart file! (1997) anyone interested in doing an open-source WebCatbasedforum? (2002) WebCat2: Items xx to xx shown, etc. (1997) Still online from NY (2003) [WebDNA] Anyone been playing with CKeditor v5 and 'SimpleUpload' (image (2020) Redirect frame targets (1998) RE: Can a database get stomped by simultaneous access? (1997) WebCat2b15MacPlugin - showing [math] (1997) Calendar using WebCatalog? (1997) security (https) w webcat (1999)