Re: Multiple Users.db Possible?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12436
interpreted = N
texte = >>Is it possible to have more than one Users.db database, i. e. TRUsers.db, >>EMF Users.db, GlobalUsers.db, etc. Or does the SiteGauard capabilities of >>webCatalog limit me to just Users.db. >> >>I want to give customers the limited ability to add and subtract users >>for their own group. So far it only seems possible if they are part of >>the Admin group.The users.db is designed to accommodate any number of users in any number of different groups. You can have different 'Users.db files if you want, but you will find it complicates things. Instead of different databases, I suggest using the users.db file for all your admin requirements.The way to use the existing users.db is to enter the name of your group into the 'groups' field. Here's an example:For people who need to be authenticated before using the private pages of your TRU group, put TRUuser into the 'groups' field and put [protect TRUuser] on those pages.If you have special 'admin' pages that only apply to certain people in the TRUusers group, put TRUadmin in the 'groups' field for each of these special users (which I refer to as sub-administrators), then put [protect TRUadmin] in the pages these people are allowed to use.If there are pages that are allowed to be accesses by more than one group of users - say the TRUusers and the EMFusers, simply put [protect TRUuser, AMFuser] at the top of those pages.Using the users.db in this way will allow you to use it for ALL your authentication and administration protection capabilities. Just remember, as the master administrator, you should include 'admin' and 'TRUuser' and 'TRUadmin' (and any other group names you create) in the 'groups' field of your own user record so you - as the master admin - will have access to all the protected pages on your site.Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Multiple Users.db Possible? (Kenneth Grome 1997)
  2. Re: Multiple Users.db Possible? (grichter@panavise.com (Gary Richter) 1997)
  3. Multiple Users.db Possible? ( 1997)
>>Is it possible to have more than one Users.db database, i. e. TRUsers.db, >>EMF Users.db, GlobalUsers.db, etc. Or does the SiteGauard capabilities of >>webCatalog limit me to just Users.db. >> >>I want to give customers the limited ability to add and subtract users >>for their own group. So far it only seems possible if they are part of >>the Admin group.The users.db is designed to accommodate any number of users in any number of different groups. You can have different 'Users.db files if you want, but you will find it complicates things. Instead of different databases, I suggest using the users.db file for all your admin requirements.The way to use the existing users.db is to enter the name of your group into the 'groups' field. Here's an example:For people who need to be authenticated before using the private pages of your TRU group, put TRUuser into the 'groups' field and put [protect TRUuser] on those pages.If you have special 'admin' pages that only apply to certain people in the TRUusers group, put TRUadmin in the 'groups' field for each of these special users (which I refer to as sub-administrators), then put [protect TRUadmin] in the pages these people are allowed to use.If there are pages that are allowed to be accesses by more than one group of users - say the TRUusers and the EMFusers, simply put [protect TRUuser, AMFuser] at the top of those pages.Using the users.db in this way will allow you to use it for ALL your authentication and administration protection capabilities. Just remember, as the master administrator, you should include 'admin' and 'TRUuser' and 'TRUadmin' (and any other group names you create) in the 'groups' field of your own user record so you - as the master admin - will have access to all the protected pages on your site.Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html 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:

Writing to PDF (2003) help! problem using [referrer] still in 2.01 (1997) [ReturnRaw] and hiding FORM data (2003) Location of Browser Info.txt file (1997) Now you see it now you donīt (1997) Extended [ConvertChars] (1997) Selling? (2001) webmerchant problems... More Problems (2000) Supressing Error Messages (1998) MacActivity and PCS (1997) Form Variables (2000) SetHeader (1997) getting images' width/height (1998) WebCatalog for Mac 2.0.1 Released (1997) Browser Back button (2003) creates folders with AS (1997) form data submission gets truncated (1997) Protecting webdelivery (1997) Version Question (2000) authorizenet and netscape (2002)