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:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) ReturnRaw, download link for mov (2007) Secure server question (1997) WebCat2 - [format thousands] (1997) A quickie question (1997) WC2f3 (1997) Quitting WebMerchant ? (1997) Kaaaaahhhhhhhnnnnnnn! (1997) WebCat2b13 Command Reference Doc error (1997) 5.0 Preview Promotion Extension (2003) problems with 2 tags shakur (1997) 2nd WebCatalog2 Feature Request (1996) [listfiles] (2004) newbie question about zip code search (2003) method of payment (1997) WebCatalog for Postcards ? (1997) Cyberstudio and WebDNA (1997) page redirect in webDNA (1997) Trouble with formula.db (1997) WebCat2b12 CGI Mac - [shownext] problem (1997)