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:

[SHOWIF] (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) RE: combining strings (1997) WebCat2 beta 11 - new prefs ... (1997) Search Spiders (2002) os x server (2000) RE: Pop-Up Redirects (1998) Date Sorting (1997) Re[2]: POSTing to a secure server ... (2000) More than one db with the same namn (was: WC2f3) (1997) Next X hits (1996) Webstar 1.3.1 PPC (1997) File Uploads... (1997) OT Weird Messenger Service message (2002) [Sum] function? (1997) [WebDNA] how can i grab the contents of a post? (2011) [WebDNA] search by range of dates (2009) searching multiple databases in single search (1997) Replacing the db file (2000) Emailer choke (1997)