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 thecomparison 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 autheniticatedcode, 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:
Sounds like
[showif] doesn't deal very well if there is nothing before thecomparison 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 autheniticatedcode, 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)