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:

creating writefile data from a nested search (1997) WebCommerce: Folder organization ? (1997) Here's how to kill a Butler Database. (1997) Installing WebDNA on Linux (2007) View order not right (1997) default error on NT? (1997) [WebDNA] API Integration (2010) Dynamic PDFs? (2004) help with duplicate records posted (1998) Help with number searching (1999) ASP and WebDNA (1998) MacAuthorize and WebMerchant (1997) Shopping Cart Problem (1998) big database file (2000) WebCat2 beta 11 - new prefs ... (1997) can WC render sites out? (1997) Running _every_ page through WebCat ? (1997) [TCPSend] and whois? (1999) Email...Thanks (1997) Non HTML file protection - OS X (webstar or apache) (2002)