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:

[MATH] and Dates (1998) [SearchString] problem with [search] context (1997) auto enter dates (1998) [shownext] and descending order (1997) Searching multiple fields (1997) [append] problems (2003) [WebDNA] Search using CL (2017) Bug Report, maybe (1997) WebCat hosting providers? - one more option (1997) FREE Stuff .. (2003) Make sure I understand this??? (1997) wo search help (1999) ShowNext Command (1997) matching shipto and others (1998) WebCatalog dying in WebTen Revisited (1998) wild question (1998) Stop the madness. (1997) Installation Woes (2003) [WebDNA] XML vars from Flash (2009) [WriteFile] problems (1997)