Re: Protect and Serve

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23360
interpreted = N
texte = Sounds like [ShowIf] doesn't deal very well if there is nothing before the comparison operator. Try turning the comparisons around:[ShowIf Some_Username![username]] [authenticate] [/ShowIf] [ShowIf Some_Password![password]] [authenticate] [/ShowIf]I don't think it should matter where in the file you put the autheniticated code, although I usually put it at the very top.-DaveAt 4:30 PM 2/5/99, The Mooseman wrote: >Thanks Dave! > >Ouestion: > >Using the context below placed at the bottom of the called page, >the user is challanged quite nicley, however using just the >correct username (with the password blank) causes the user >to be admitted or authenticated. > >Should I place it differently to get both the username >and password to be vertified before the page is shown? > >Mooseman > > >In reply to: > > >>[ShowIf [username]!Some_Username] >> [authenticate] >>[/ShowIf] >>[ShowIf [password]!Some_Password] >> [authenticate] >>[/ShowIf] >> >> >>At 3:02 PM 2/5/99, The Mooseman wrote: >>>I am wondering if I can use some quick, cheap, and >>>probably unsecure method to give one user access to a single >>>web page by embedding a field value in the called page >>>and then do a showif to challenge the user? >>> >>>I seem to have lost the train opf thought on doing this (its Friday). >>> >>>Anyone go any ideas on the way to context this idea? >>> >>>Humbly, >>> >>>Mooseman >> >> >>o--------------- Dave MacLeay --+ >>o----------- Digital Frontier --+ >>o--------------- 802.253.8612 --+ >>o--- dave@digitalfrontier.com --+ o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Protect and Serve (Joseph Pugh 1999)
  2. Re: Protect and Serve (Charles Kefauver 1999)
  3. Re: Protect and Serve (Mike_Davis 1999)
  4. Re: Protect and Serve (Dave MacLeay 1999)
  5. Re: Protect and Serve (Joseph Pugh 1999)
  6. Re: Protect and Serve (Kenneth Grome 1999)
  7. Re: Protect and Serve (Joseph Pugh 1999)
  8. Re: Protect and Serve (PCS Technical Support 1999)
  9. Re: Protect and Serve (Rob Marquardt 1999)
  10. Re: Protect and Serve (The Mooseman 1999)
  11. Re: Protect and Serve (Christer Olsson 1999)
  12. Re: Protect and Serve (Dave MacLeay 1999)
  13. Re: Protect and Serve (Martin Bech 1999)
  14. Re: Protect and Serve (The Mooseman 1999)
  15. Re: Protect and Serve (Christer Olsson 1999)
  16. Re: Protect and Serve (Rob Marquardt 1999)
  17. Re: Protect and Serve (The Mooseman 1999)
  18. Re: Protect and Serve (Lorenzo Perone 1999)
  19. Re: Protect and Serve (Lorenzo Perone 1999)
  20. Re: Protect and Serve (The Mooseman 1999)
  21. Re: Protect and Serve (RH Prouty 1999)
  22. Re: Protect and Serve (Kenneth Grome 1999)
  23. Re: Protect and Serve (Dave MacLeay 1999)
  24. Re: Protect and Serve (The Mooseman 1999)
  25. Re: Protect and Serve (Dave MacLeay 1999)
  26. Protect and Serve (The Mooseman 1999)
Sounds like [showif] doesn't deal very well if there is nothing before the comparison operator. Try turning the comparisons around:[ShowIf Some_Username![username]] [authenticate] [/ShowIf] [ShowIf Some_Password![password]] [authenticate] [/ShowIf]I don't think it should matter where in the file you put the autheniticated code, although I usually put it at the very top.-DaveAt 4:30 PM 2/5/99, The Mooseman wrote: >Thanks Dave! > >Ouestion: > >Using the context below placed at the bottom of the called page, >the user is challanged quite nicley, however using just the >correct username (with the password blank) causes the user >to be admitted or authenticated. > >Should I place it differently to get both the username >and password to be vertified before the page is shown? > >Mooseman > > >In reply to: > > >>[ShowIf [username]!Some_Username] >> [authenticate] >>[/ShowIf] >>[ShowIf [password]!Some_Password] >> [authenticate] >>[/ShowIf] >> >> >>At 3:02 PM 2/5/99, The Mooseman wrote: >>>I am wondering if I can use some quick, cheap, and >>>probably unsecure method to give one user access to a single >>>web page by embedding a field value in the called page >>>and then do a showif to challenge the user? >>> >>>I seem to have lost the train opf thought on doing this (its Friday). >>> >>>Anyone go any ideas on the way to context this idea? >>> >>>Humbly, >>> >>>Mooseman >> >> >>o--------------- Dave MacLeay --+ >>o----------- Digital Frontier --+ >>o--------------- 802.253.8612 --+ >>o--- dave@digitalfrontier.com --+ o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) variables in [addlineitem] (1998) Summing fields (1997) Dismissing dialogs (was 2.1b3 --> way slow) (1997) Server crash (1997) [lineitems] and [writefile] (1998) flushdatabases (1997) Calculating multiple shipping... (1997) upgrading (1997) Help name our technology! (1997) NT Manual (1997) What the *(**&^* webcat/mer (1998) Major bug report on rootbeer (1997) Searchable WebCat (etc.) Docs ? (1997) [WebDNA] 2nd pair of eyes on redirect please (2011) WebDelivery downloads alias, not original ? (1997) Not really WebCat (1997) OT: Poll Results (2002) RE: Multithreading of [replace] (1999) Semi-OT: PanIP patent infringement case (2001)