Re: Protect
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14232
interpreted = N
texte = >>Are you on NT? Have you restarted recently? Have you flushed the>>databases since beginning to mess with this? What are a few of the>>actual users.db files that don't seem to work? Can you include one of>>the HTML pages that doesn't work?>No I am an all Mac site. I am running WebTen with many domains. Some of>these are stores for individual companies. After they are set up I turn>them over to the company they belong to.Okay then, here's how to get this stuff to work the way I think youwant it to work.All you have to do is to give each company its own private group. Inother words, if you have a company named ABC Company. then start bycreating a group name ABC.Next, go into that company's admin templates and replace all theprotect tags in those templates with[protect abc]Then go into the users.db and find your personal users.db record --it should have ADMIN as one of the words in the groups field --- andadd the new group name ABC to YOUR group field.Now, go into the users.db record of everyone in the ABC Company whois supposed to have access to the admin pages of that firm, andreplace everything that's in the groups field in those records withthe group name ABC. Do NOT leave ADMIN in ANY of the groupsfields in these records!Okay, now, do you see what that has done?First of all, it has gotten rid of ADMIN in the group fields ofeveryone in the ABC Company, which means NO ONE in the ABC companycan gain access to the pages you have protected with the [protectadmin] page.Second, it has given only the ABC Company's people (and you,personally) access to the ABC Company's templates and databases. Youstill have personal access to the [protect ABC] pages because you putthe ABC group name into the groups field in your own users.db record,remember?One of the main things to rememeber is to NEVER give anyone outside*your own company* ADMIN access. In fact, if I were you, I would makesure that you, personally, and the ONLY one with ADMIN access.Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>>Are you on NT? Have you restarted recently? Have you flushed the>>databases since beginning to mess with this? What are a few of the>>actual users.db files that don't seem to work? Can you include one of>>the HTML pages that doesn't work?>No I am an all Mac site. I am running WebTen with many domains. Some of>these are stores for individual companies. After they are set up I turn>them over to the company they belong to.Okay then, here's how to get this stuff to work the way I think youwant it to work.All you have to do is to give each company its own private group. Inother words, if you have a company named ABC Company. then start bycreating a group name ABC.Next, go into that company's admin templates and replace all theprotect tags in those templates with[protect abc]Then go into the users.db and find your personal users.db record --it should have ADMIN as one of the words in the groups field --- andadd the new group name ABC to YOUR group field.Now, go into the users.db record of everyone in the ABC Company whois supposed to have access to the admin pages of that firm, andreplace everything that's in the groups field in those records withthe group name ABC. Do NOT leave ADMIN in ANY of the groupsfields in these records!Okay, now, do you see what that has done?First of all, it has gotten rid of ADMIN in the group fields ofeveryone in the ABC Company, which means NO ONE in the ABC companycan gain access to the pages you have protected with the [protectadmin] page.Second, it has given only the ABC Company's people (and you,personally) access to the ABC Company's templates and databases. Youstill have personal access to the [protect ABC] pages because you putthe ABC group name into the groups field in your own users.db record,remember?One of the main things to rememeber is to NEVER give anyone outside*your own company* ADMIN access. In fact, if I were you, I would makesure that you, personally, and the ONLY one with ADMIN access.Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
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:
Some Advise needed (1997)
[WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (2009)
For those of you not on the WebCatalog Beta... (1997)
The Archives? (1999)
[ConvertChars] problem (1997)
Poll Please (2002)
Template Security error (1997)
Can a database get stomped by simultaneous access? (1997)
WebCatalog and WebTen (1997)
RE: NewCart+Search with one click ? (1997)
Help name our technology! (1997)
[WebDNA] Quick grep question (2009)
oops private message leaked into talk list (1997)
summ=T (2003)
Navigator 4.01 (1997)
OT: Need some feedback, please. (2003)
WebCatalog 3.0.8 Mac OS (2000)
Three new problems, maybe a fourth (1997)
[WebDNA] Froala Editor working with WebDNA (2016)
Calendar Snippet Problems (1998)