Re: Multiple security dbs
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11879
interpreted = N
texte = >I am running clearly home and I have redirection to another folder.>>Customer 1>http://www.site1.com>Folder /site1>>>Customer 2>http://www.site2.com>Folder /Site2>>Webcatalog folder>/>>Up until now I did not need seperate security databases and admins, but>now I do. Both Customers want to add sensitive info. Is this possible by>adding webcat folder to each of the folders above?>I have had Webcat in the root folder and when I tried to move it>everything went berzerk now I can't get it to process anything until I>move the folder back. Wazup? Arrrgggh!Hi Robert,You can actually have as many different users.db files as you want, andyou can put them anywhere you want - but you have to make sure to changesome of the WebDNA that's included in the security templates so itreferences the right 'users.db' file, that's all.I have several different 'users'db files, and they are all in differentplaces. I even changed their names, because it really doesn't make anydifference what their names are.However, when you do this, you may have to use some WebDNA that works likethe [protect admin] tag instead of using that tag directly, because I*think* using [protect admin] tells WebCat2 to look in the users.db that'sstored in the default location.Some time ago, Grant sent a snippet of regular WebDNA code to the list thatdoes the same thing as the [protect] tag, but it's changeable so you canmodify it to reference any users.db in any location on your web site.Unfortunately I cannot seem to find it right now or I would include it foryou here, sorry ...Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>I am running clearly home and I have redirection to another folder.>>Customer 1>http://www.site1.com>Folder /site1>>>Customer 2>http://www.site2.com>Folder /Site2>>Webcatalog folder>/>>Up until now I did not need seperate security databases and admins, but>now I do. Both Customers want to add sensitive info. Is this possible by>adding webcat folder to each of the folders above?>I have had Webcat in the root folder and when I tried to move it>everything went berzerk now I can't get it to process anything until I>move the folder back. Wazup? Arrrgggh!Hi Robert,You can actually have as many different users.db files as you want, andyou can put them anywhere you want - but you have to make sure to changesome of the WebDNA that's included in the security templates so itreferences the right 'users.db' file, that's all.I have several different 'users'db files, and they are all in differentplaces. I even changed their names, because it really doesn't make anydifference what their names are.However, when you do this, you may have to use some WebDNA that works likethe [protect admin] tag instead of using that tag directly, because I*think* using [protect admin] tells WebCat2 to look in the users.db that'sstored in the default location.Some time ago, Grant sent a snippet of regular WebDNA code to the list thatdoes the same thing as the
[protect] tag, but it's changeable so you canmodify it to reference any users.db in any location on your web site.Unfortunately I cannot seem to find it right now or I would include it foryou here, sorry ...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:
WebCat2 several catalogs? (1997)
RE: PIXO support (1997)
Avery 5160 Mailing Labels (2003)
Running 2 two WebCatalog.acgi's (1996)
Multiple Newcarts (1996)
PCS Emailer's role ? (1997)
What is wrong here? (2000)
Reference data: ip-to-country (2004)
FTP (1999)
Duplicate Carts (2000)
Nested vs conditional (1997)
WC2b15 File Corruption (1997)
kinda OT Cutlass + madonna tickets (2001)
Memory requirements? (2000)
A question on sub-categories (1997)
searching with if/then (2004)
[OT] Form Check java problem (2003)
[WebDNA] trouble with [url] encoding??? (2014)
Re:Contest (1999)
Help formatting search results w/ table (1997)