Re: Not Authorised Adding Items

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18790
interpreted = N
texte = >I'm still having a problem with having a non-admin user try to add products >to the database , I know you can take the $append out of method=POST action=AdminAdded.tmpl$append> and add it field by field in >the adminadded.tmpl >but i thought this was fixed when the tpl templates came out changing >
>to > > > >but this still doesn't seem to work right , i still get a authorization >failed by non-admin users, > >Does any one have a way around this without having to append each field in >the adminadded.tpl ?Yes, there are three ways to get this to work:1- Add append to your CommandsAllowed preference. 2- Change the CommandSecurity preference from T to F. 3- Stop using the append command altogether, and instead, use [append] contexts exclusively.Choice #3 is the most secure. It's also harder to code in WebDNA, so the choice you make will depend upon your ultimate goal ... Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Not Authorised Adding Items (Chris W. 1998)
  2. Re: Not Authorised Adding Items (Kenneth Grome 1998)
>I'm still having a problem with having a non-admin user try to add products >to the database , I know you can take the $append out of method=POST action=AdminAdded.tmpl$append> and add it field by field in >the adminadded.tmpl >but i thought this was fixed when the tpl templates came out changing > >to > > > >but this still doesn't seem to work right , i still get a authorization >failed by non-admin users, > >Does any one have a way around this without having to append each field in >the adminadded.tpl ?Yes, there are three ways to get this to work:1- Add append to your CommandsAllowed preference. 2- Change the CommandSecurity preference from T to F. 3- Stop using the append command altogether, and instead, use [append] contexts exclusively.Choice #3 is the most secure. It's also harder to code in WebDNA, so the choice you make will depend upon your ultimate goal ... Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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:

WebCatalog f2 Installation (1997) osascript help needed (2006) OS X and Emailer (2002) More than one db with the same namn (was: WC2f3) (1997) Date search - yes or no (1997) Re:Emailer problem....still (1997) A few questions... (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Netscape Communicator 4 (1997) possible, WebCat2.0 and checkboxes-restated (1997) This list needs a digest: rant, rave... (1997) cc auth with [purchase] (1998) searchable list archive (1997) Simple Database close connection (2001) RE: Remote administration (1998) Sort Order on a page search (1997) Site Downloaders (2002) Help with Repost Data msg from form (1997) Force leading zeros (1998) Search minus first found (1999)