Re: $Append for Users outside the ADMIN group

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13920
interpreted = N
texte = >How can I allow my customers to maintain their databases and use the >append command without giving them ADMIN access? > >I don't want to delete the append command from the list of allowed >command.Please think about using this technique:Delete the append command from the list of allowed command, then use [append] contexts in your forms instead.Any [append] forms you don't want the public to use can easily be protected with the [protect 'groups'] tag. Several groups can be allowed access to your [append] page (not just the 'admin' group) while denying all others, like this:[protect admin,vendors,clients]This tag will allow only members of the 'admin' group OR the 'vendors' group OR the 'clients' group to access the page. Make sure to put this tag at the top of the pages you want to protect, a good place for it is immediately after the tag.Use the same technique for all your other commands, too. Then remove all those commands from the CommandsAllowed Preference so you don't have to worry about other people sending direct commands from their browser ... and potentially messing up your databases.Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: $Append for Users outside the ADMIN group (Mike Heininger 1997)
  2. Re: $Append for Users outside the ADMIN group (Grant Hulbert 1997)
  3. Re: $Append for Users outside the ADMIN group (Kenneth Grome 1997)
  4. $Append for Users outside the ADMIN group (Mike Heininger 1997)
>How can I allow my customers to maintain their databases and use the >append command without giving them ADMIN access? > >I don't want to delete the append command from the list of allowed >command.Please think about using this technique:Delete the append command from the list of allowed command, then use [append] contexts in your forms instead.Any [append] forms you don't want the public to use can easily be protected with the [protect 'groups'] tag. Several groups can be allowed access to your [append] page (not just the 'admin' group) while denying all others, like this:[protect admin,vendors,clients]This tag will allow only members of the 'admin' group OR the 'vendors' group OR the 'clients' group to access the page. Make sure to put this tag at the top of the pages you want to protect, a good place for it is immediately after the tag.Use the same technique for all your other commands, too. Then remove all those commands from the CommandsAllowed Preference so you don't have to worry about other people sending direct commands from their browser ... and potentially messing up your databases.Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://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:

unusual search problem (1998) WebCatalog sales (1997) Emailer choke (1997) Setting up WebCatalog with Retail Pro data (1996) WebCat2b13MacPlugIn - More limits on [include] (1997) Help name our technology! (1997) Plugin or CGI or both (1997) form (2002) Copy and paste text into form fields....... (2005) [protect] on NT? (1997) E-mailer application times out (1998) [WebDNA] Technical References (2009) Comments in db? (1997) WebCat 3.04-3.07 plug-in dying on server.... (2000) passing search criteria (1997) pc (1997) Mac Vs WindowsNT (1997) HELP WITH DATES (1997) question: webmerchant connection (1997) Emailer prefs in two places ... (1997)