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 consider another effect this solution will have on your users.By passing their username in the URL of every link on your site (or at least in the links of the 'protected' parts of your site) that username will 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 over his/her shoulder, but for some people, this solution may end up being an annoyance - as well as a security problem - that they would not appreciate at all.I did this on one site I created, and I don't like it, so I won't be doing it again.A different solution might be to use the normal [authenticate] stuff that's built into WebCatalog, but give everyone the same password. Make that password the name you're using for the service you're protecting. Then they don't really have much to remember, because they would be able to remember the 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] features rather than trying to pass the username (and in my case the password) to every other protected page on the site.Fortunately, WebCatalog 2.0 gives you a choice, which is very nice because then you can choose whichever solution works best for you ... :)Sincerely, Ken Grome WebDNA Solutions Associated Messages, from the most recent to the oldest:

    
  1. Re: SiteGuard Use Question (Kenneth Grome 1997)
  2. Re: SiteGuard Use Question (Grant Hulbert 1997)
  3. SiteGuard Use Question (Mark Anderson 1997)
>>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 consider another effect this solution will have on your users.By passing their username in the URL of every link on your site (or at least in the links of the 'protected' parts of your site) that username will 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 over his/her shoulder, but for some people, this solution may end up being an annoyance - as well as a security problem - that they would not appreciate at all.I did this on one site I created, and I don't like it, so I won't be doing it again.A different solution might be to use the normal [authenticate] stuff that's built into WebCatalog, but give everyone the same password. Make that password the name you're using for the service you're protecting. Then they don't really have much to remember, because they would be able to remember the 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] features rather than trying to pass the username (and in my case the password) to every other protected page on the site.Fortunately, WebCatalog 2.0 gives you a choice, which is very nice because then you can choose whichever solution works best for you ... :)Sincerely, Ken Grome WebDNA 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:

AuthorizeNet & StoreBuilder (2002) format_to_days on NT (1997) memory in high traffic servers (2004) Re:What file? (1997) Encypt Question - Making New Users.db (1999) Answer: WebDelivery downloads alias, not original ? (1997) Updating database (1998) Lost and Recovered. (1998) Errant Email. (1998) RE: Writefile outside WebSTAR hierarchy? (1997) Setting up shop (1997) Problem with empty form-variables in [search] (1998) PCS Emailer's role ? (1997) Credit card processing options. . . (1997) [WebDNA] Help with work-around format date (2013) SiteGuard Admin Feature ? (1997) Pulling Captions from JPGs (2003) Practice runs ? (1997) Textarea Breaks (2000) error: Too many nested [xxx] contexts (1997)