Re: Most Efficiant Way to do restricted Areas
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13401
interpreted = N
texte = You don't have to use WebCatalog's [protect] tag. Instead, write your owninclude file that compares their username and password and compares it thevalues from the members.db file. If the authentication dialog is necessary,throw in an [authenticate] tag. Duplicate the multigroupchecker file andmodify it: it does what you want except to a separate database. Then usethis as an include file on the pages you want protected.John.>Wasup People,>>Hey I'm doing a site in which i'm having areas which are restricted. I>want to be able to give the users the ability to enter themselves in a>members.db and then get access to that area. The way I have it setup>right now gets all the info needed into a db called members.db>(first&last name, username and password, etc.) So i have all that stuff>figured out.>>Question: How do i tell the authenticaion process to look at>members.db useranme/password? Do i need to rename the field names as>well? From Membername to Username?>>Cool thanks alot!>--> _> __( )_ While Eeyore frets ...> ( (o____ and Piglet hesitates ...> | | and Rabbit calculates ...> | (__/ and Owl pontificates> \ / ___> / \ \___/> / ^ / \ ...Pooh just is.> | | |__|_HUNNY |> | \______)____/> \ /> \ /_ Damien Joldersma> | ( __) p00h@wcug.wwu.edu> (____) http://www.wcug.wwu.edu/~p00hJohn A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
You don't have to use WebCatalog's
[protect] tag. Instead, write your owninclude file that compares their username and password and compares it thevalues from the members.db file. If the authentication dialog is necessary,throw in an
[authenticate] tag. Duplicate the multigroupchecker file andmodify it: it does what you want except to a separate database. Then usethis as an include file on the pages you want protected.John.>Wasup People,>>Hey I'm doing a site in which i'm having areas which are restricted. I>want to be able to give the users the ability to enter themselves in a>members.db and then get access to that area. The way I have it setup>right now gets all the info needed into a db called members.db>(first&last name, username and password, etc.) So i have all that stuff>figured out.>>Question: How do i tell the authenticaion process to look at>members.db useranme/password? Do i need to rename the field names as>well? From Membername to Username?>>Cool thanks alot!>--> _> __( )_ While Eeyore frets ...> ( (o____ and Piglet hesitates ...> | | and Rabbit calculates ...> | (__/ and Owl pontificates> \ / ___> / \ \___/> / ^ / \ ...Pooh just is.> | | |__|_HUNNY |> | \______)____/> \ /> \ /_ Damien Joldersma> | ( __) p00h@wcug.wwu.edu> (____) http://www.wcug.wwu.edu/~p00hJohn A. Hill Pacific Coast Software11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT *San Diego, CA 92128 http://www.smithmicro.com
John Hill
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:
OT: Conditional Redirect (2004)
All of a Sudden Type 2 errors (1999)
OT Pager notification of completed orders (1998)
How do I specify a & character in Grep? (2000)
New Web Site Developers Database (1996)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
target=_blank and form variables (1997)
WCS Newbie question (1997)
Country & Ship-to address & other fields ? (1997)
fuzzy searching (1999)
Bug Report, maybe (1997)
Text limits in NT version? (1997)
Exists? (1997)
[format] (1998)
Building Calendars (1997)
Search design (1997)
Encypt Question - Making New Users.db (1999)
Search design (1997)
problem: search crashes webstar (1997)
autocommit problem (1998)