Re: SiteGuard Use Question
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12331
interpreted = N
texte = >>I found out that if you create a user in SiteGuard (i.e. account number)>>and leave a blank password it will accept it fine. So I want to bypass the>>normal Username & Password dialog box and present a form that asks for>>their current account number. So if they go to one of the protected pages>>via bookmark they first are sent to the login form.>>Let's assume you're talking about WebCatalog and not SiteGuard here, since>SiteGuard has very limited abilities in comparison. The WebDNA looks>similar in both, but SiteGuard can't do arbitrary databases.>>Things are a lot simpler if you use the standard password dialog, because>then the username is always available to you throughout the site, without>having to change any of your templates.>>Buuuut, if you're dead-set on *not* using the [Authenticate] password>dialog (perhaps because it's confusing to ask people to leave the password>field blank), then you'll need to manually propogate the username from>page to page. So on every subsequent link you would put something like
href=nextpage.tmpl?username=[username]> so that the username first>entered into your form would move from page to page, and you could still>use [protect] or some other way of verifying the user on those subsequent>pages.Using Grant's suggestion here will work, but you should also consideranother effect this solution will have on your users.By passing their username in the URL of every link on your site (or atleast in the links of the 'protected' parts of your site) that usernamewill be displayed in the URL field of the user's web browser ALL THE TIME.This wouldn't be a problem for someone who never has anyone looking overhis/her shoulder, but for some people, this solution may end up being anannoyance - as well as a security problem - that they would not appreciateat all.I did this on one site I created, and I don't like it, so I won't be doingit again.A different solution might be to use the normal [authenticate] stuff that'sbuilt into WebCatalog, but give everyone the same password. Make thatpassword the name you're using for the service you're protecting. Then theydon't really have much to remember, because they would be able to rememberthe name of the area they are trying to get into, right?Neither of these are ideal solutions for your particular needs. I know,I've done both, and I much prefer to use the built-in [protect] featuresrather than trying to pass the username (and in my case the password) toevery other protected page on the site.Fortunately, WebCatalog 2.0 gives you a choice, which is very nice becausethen you can choose whichever solution works best for you ... :)Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>>I found out that if you create a user in SiteGuard (i.e. account number)>>and leave a blank password it will accept it fine. So I want to bypass the>>normal Username & Password dialog box and present a form that asks for>>their current account number. So if they go to one of the protected pages>>via bookmark they first are sent to the login form.>>Let's assume you're talking about WebCatalog and not SiteGuard here, since>SiteGuard has very limited abilities in comparison. The WebDNA looks>similar in both, but SiteGuard can't do arbitrary databases.>>Things are a lot simpler if you use the standard password dialog, because>then the username is always available to you throughout the site, without>having to change any of your templates.>>Buuuut, if you're dead-set on *not* using the
[authenticate] password>dialog (perhaps because it's confusing to ask people to leave the password>field blank), then you'll need to manually propogate the username from>page to page. So on every subsequent link you would put something like
href=nextpage.tmpl?username=[username]> so that the username first>entered into your form would move from page to page, and you could still>use
[protect] or some other way of verifying the user on those subsequent>pages.Using Grant's suggestion here will work, but you should also consideranother effect this solution will have on your users.By passing their username in the URL of every link on your site (or atleast in the links of the 'protected' parts of your site) that usernamewill be displayed in the URL field of the user's web browser ALL THE TIME.This wouldn't be a problem for someone who never has anyone looking overhis/her shoulder, but for some people, this solution may end up being anannoyance - as well as a security problem - that they would not appreciateat all.I did this on one site I created, and I don't like it, so I won't be doingit again.A different solution might be to use the normal
[authenticate] stuff that'sbuilt into WebCatalog, but give everyone the same password. Make thatpassword the name you're using for the service you're protecting. Then theydon't really have much to remember, because they would be able to rememberthe name of the area they are trying to get into, right?Neither of these are ideal solutions for your particular needs. I know,I've done both, and I much prefer to use the built-in
[protect] featuresrather than trying to pass the username (and in my case the password) toevery other protected page on the site.Fortunately, WebCatalog 2.0 gives you a choice, which is very nice becausethen you can choose whichever solution works best for you ... :)Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
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:
b12 cannot limit records returned and more. (1997)
[url] issue (2000)
WebMerchant Only reads 1.4 order files error (1997)
PIXO (1997)
Ken's Data Manager (finally available I think ...) (2005)
webcat- multiple selection in input field (1997)
SMSI FTP (2002)
problems with WebCat-Plugin (1997)
Re[2]: Base64 encryption limitations? (1999)
NT vs Mac (1997)
[WebDNA] maybe silly suggestion? [founditems] (2015)
WC2f3 (1997)
WCS Newbie question (1997)
WebCat2 - [include] tags (1997)
Make sure I understand this??? (1997)
WebCat2: Items xx to xx shown, etc. (1997)
PR: Internet Cleanup 4.0 for Mac released (2006)
Re:quit command on NT (1997)
Removing [showif] makes a big difference in speed (1997)
HTML Editors (1997)