RE: protect tag on NT
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13006
interpreted = N
texte = Actually - becuase of the security scheme in IIS we came up with anadditional scheme that puts the technique used for Authentication underyour (the webmaster's) control. There is a file in the WebCatalog foldernamed authenticate checker, if WebCat finds this it uses Forms basedpasswords and not the username and password from the broswer (this is theonly technique that works for IIS) - to have this be seamless with yoursite you need to pass username and password thru the site like you do withcart... If you want to use the browser challenge dialog and you are notusing IIS as your server you can simply remove the file and you should havethe old style...Sorry for the confusion.>Olin ->>>How is the protect tag on the NT version different from the Mac? I am>>running IIS4.0 and want to protect a group of pages so I add [protect>>mygroup]. The first page I hit gives me the username and password as an>>HTML page with a submit button. It works, but when I hit the next page>>of the group, once again it prompts me for a username and password. I>>thought the username and password would be held throughout but it is not.>>It should be just the same as the Mac version - it's the browser's job to>hang on to the username & password for that realm and pass it to the>server. I'll have to go run up and try it out on NT when I get a chance,>but if you'd like to send me a URL to try out or some WebDNA snippets I'll>see if I can spot anything.>>>I also tried the [authenticate mygroup] tag. This one I can't figure>>out. I type in the group and it brings up the same page (not a dialog>>username/password box) except that mygroup is the title. However, if I>>key in a correct username/password, it just keeps sending me back to the>>page.>>You always want to enclose the [authenticate] tag inside a [showif] or>[hideif] context (usually to check the current username and password and>require authentication if they are not present). Otherwise (as you've>seen), loading that page will just keep bringing up the Authentication>dialog in the browser.>>>How can I protect a select number of pages without having the user>>authenticate for every page besides doing my own user/pass db which is>>passed on every page as text and gets embedded in registries and logs?>>Either [protect] or [authenticate] would work, though [protect] would be a>much easier approach. Send me a few details on your setup and I'll see if>I can find out what's going wrong.>>thanks,>>Marc Eagle>StarNine Technologies>http://www.smithmicro.com/Jay Van Vark ******************************Pacific Coast Software | Commerce (WebCatalog)11770 Bernardo Plaza Court | Hosting & DesignSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 ******************************619.675.1106
Associated Messages, from the most recent to the oldest:
Actually - becuase of the security scheme in IIS we came up with anadditional scheme that puts the technique used for Authentication underyour (the webmaster's) control. There is a file in the WebCatalog foldernamed authenticate checker, if WebCat finds this it uses Forms basedpasswords and not the username and password from the broswer (this is theonly technique that works for IIS) - to have this be seamless with yoursite you need to pass username and password thru the site like you do withcart... If you want to use the browser challenge dialog and you are notusing IIS as your server you can simply remove the file and you should havethe old style...Sorry for the confusion.>Olin ->>>How is the protect tag on the NT version different from the Mac? I am>>running IIS4.0 and want to protect a group of pages so I add [protect>>mygroup]. The first page I hit gives me the username and password as an>>HTML page with a submit button. It works, but when I hit the next page>>of the group, once again it prompts me for a username and password. I>>thought the username and password would be held throughout but it is not.>>It should be just the same as the Mac version - it's the browser's job to>hang on to the username & password for that realm and pass it to the>server. I'll have to go run up and try it out on NT when I get a chance,>but if you'd like to send me a URL to try out or some WebDNA snippets I'll>see if I can spot anything.>>>I also tried the [authenticate mygroup] tag. This one I can't figure>>out. I type in the group and it brings up the same page (not a dialog>>username/password box) except that mygroup is the title. However, if I>>key in a correct username/password, it just keeps sending me back to the>>page.>>You always want to enclose the
[authenticate] tag inside a
[showif] or>
[hideif] context (usually to check the current username and password and>require authentication if they are not present). Otherwise (as you've>seen), loading that page will just keep bringing up the Authentication>dialog in the browser.>>>How can I protect a select number of pages without having the user>>authenticate for every page besides doing my own user/pass db which is>>passed on every page as text and gets embedded in registries and logs?>>Either
[protect] or
[authenticate] would work, though
[protect] would be a>much easier approach. Send me a few details on your setup and I'll see if>I can find out what's going wrong.>>thanks,>>Marc Eagle>StarNine Technologies>http://www.smithmicro.com/Jay Van Vark ******************************Pacific Coast Software | Commerce (WebCatalog)11770 Bernardo Plaza Court | Hosting & DesignSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 ******************************619.675.1106
Jay Van Vark
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:
Item counting? (1998)
date (1999)
[WebDNA] Passing a text variable via copyfile (2019)
How true is this? (1999)
[MATH] and Dates (1998)
Site Builder & IE Mac (2004)
Adding muliple sku + quantities (1999)
Emailer problems. (1998)
Multiple catalog databases and showcart (1997)
Major Security Hole (1998)
[WebDNA] Cheers (2008)
Greeting Card System (2000)
New syntax feedback for 4.0 (2000)
Arrays (2000)
[WebDNA] exclusivelock (2011)
2nd WebCatalog2 Feature Request (1996)
WCS Newbie question (1997)
Newbie Tax Question (1997)
Mac Vs WindowsNT (1997)
Going to anchors within a template page (1997)