Re: Q on the best way to set up a security function so users canedit records
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23726
interpreted = N
texte = >Thank you for the reply, I need a little help in clarifing some things.>>>Use the built-in [protect] tag, and use the built-in admin pages to create>>your users and passwords. Use groups (just an arbitrary string of text) to>>manage access for each of your users. Users can belong to multiple groups,>>so it's easy to let them into different parts of the site.>>Ok, so the user 'registers' in the users.db. Then I have that information>available to me during this session by using the [username] and>[password] contexts. So, in order for the user to create a new record in>my (other) database(s), I would be able to populate the username and>password field automatically. I would also add them to the proper group>so the 'add' link wouldn't even display unless they had 'logged in'.You have another option open. Instead of using [protect], which is realeasy to use, you can use the lower level [authenticate].By the way, there has been a long thread about [authenticate] on this listlately. I have done just what you want, and you start off by looking at thecode in the file MultigrooupChecker which is in the WebCatalog rootfolder.Hope this help,Charles_____________________________________________Institut Balear de Comunicacions, S.L.Gremio Tejedores 22, 107009 Palma de Mallorca, Spain_____________________________________________Tel: +34 971.43.12.77Fax: +34 971.43.08.18E-mail: ckefauver@ibacom.esURL: http://www.ibacom.es/_____________________________________________Public PGP signature (Clave publica PGP):http://www.ibacom.es/PGP/kefauver.txt_____________________________________________
Associated Messages, from the most recent to the oldest:
>Thank you for the reply, I need a little help in clarifing some things.>>>Use the built-in
[protect] tag, and use the built-in admin pages to create>>your users and passwords. Use groups (just an arbitrary string of text) to>>manage access for each of your users. Users can belong to multiple groups,>>so it's easy to let them into different parts of the site.>>Ok, so the user 'registers' in the users.db. Then I have that information>available to me during this session by using the
[username] and>
[password] contexts. So, in order for the user to create a new record in>my (other) database(s), I would be able to populate the username and>password field automatically. I would also add them to the proper group>so the 'add' link wouldn't even display unless they had 'logged in'.You have another option open. Instead of using
[protect], which is realeasy to use, you can use the lower level
[authenticate].By the way, there has been a long thread about
[authenticate] on this listlately. I have done just what you want, and you start off by looking at thecode in the file MultigrooupChecker which is in the WebCatalog rootfolder.Hope this help,Charles_____________________________________________Institut Balear de Comunicacions, S.L.Gremio Tejedores 22, 107009 Palma de Mallorca, Spain_____________________________________________Tel: +34 971.43.12.77Fax: +34 971.43.08.18E-mail: ckefauver@ibacom.esURL: http://www.ibacom.es/_____________________________________________Public PGP signature (Clave publica PGP):http://www.ibacom.es/PGP/kefauver.txt_____________________________________________
Charles Kefauver
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:
my price won't move (1997)
thread discussion solution (2000)
Graphing Modules (2004)
More on the email templates (1997)
Pre-flight public flag (1997)
Almost a there but..bye bye NetCloak (1997)
[cart] (1998)
carriage returns in data (1997)
Rounding problem (1998)
Parameter Passing (2000)
Showing unopened cart (1997)
Where is eudora plugin? (1998)
Setting up shop (1997)
[append] (1997)
Product Comparison (2000)
Can't find templaes (1997)
FW: Virus Alert: FBI Finds 911 Virus Wiping Out Hard DrivesToday (2000)
Writing to disk (1999)
Applescript error (1998)
WebDNA performance comparisons? (2004)