Re: CommandSecurity?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12636
interpreted = N
texte = >>I removed Replace and Delete from the CommandsAllowed preference ... while >>leaving CommandSecurity=T. >> >>I did this in an effort to 'shut off' all commands performed by forms and >>URL's ... but it also seems to prevent context commands from working too. I >>had to make CommandSecurity=F to get replace and delete to work without >>adding them to the CommandsAllowed pref ... but setting CommandSecurity=F >>completely eliminates all command security, right? > >I see nothing in the code that would prevent embedded contexts such as >[Delete] or [Replace] from working regardless of what the CommandSecurity >setting is. CommandSecurity is only for $(command) remote URL-style >commands. > >Are you sure you've got the right passwords for those embedded contexts >you're using?There's no username or password fields in this database, there's only 3 fields - newssku, newsdate and newstext.Aah ... but I have the page protected with my custom WebDNA ... so the browser already has username and password values cached before I try to use this page. Could it be that when the browser already has a cached value for username and password, the replace or delete won't work unless I either:1- create username and password fields in the database to compare the browser's values against, or ...2- put &username=[username]&password=[password] into the context?If that's all it is, this is a HUGE misunderstanding on my part!I thought I didn't have to put &username=[username]&password=[password] into replace or delete contexts or forms or urls unless there were fields in the database with exactly the same names.Was I wrong about this?Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: CommandSecurity? (Grant Hulbert 1997)
  2. Re: CommandSecurity? (Kenneth Grome 1997)
  3. Re: CommandSecurity? (Kenneth Grome 1997)
  4. Re: CommandSecurity? (Grant Hulbert 1997)
  5. CommandSecurity? (Kenneth Grome 1997)
  6. CommandSecurity? (Kenneth Grome 1997)
>>I removed Replace and Delete from the CommandsAllowed preference ... while >>leaving CommandSecurity=T. >> >>I did this in an effort to 'shut off' all commands performed by forms and >>URL's ... but it also seems to prevent context commands from working too. I >>had to make CommandSecurity=F to get replace and delete to work without >>adding them to the CommandsAllowed pref ... but setting CommandSecurity=F >>completely eliminates all command security, right? > >I see nothing in the code that would prevent embedded contexts such as >[delete] or [replace] from working regardless of what the CommandSecurity >setting is. CommandSecurity is only for $(command) remote URL-style >commands. > >Are you sure you've got the right passwords for those embedded contexts >you're using?There's no username or password fields in this database, there's only 3 fields - newssku, newsdate and newstext.Aah ... but I have the page protected with my custom WebDNA ... so the browser already has username and password values cached before I try to use this page. Could it be that when the browser already has a cached value for username and password, the replace or delete won't work unless I either:1- create username and password fields in the database to compare the browser's values against, or ...2- put &username=[username]&password=[password] into the context?If that's all it is, this is a HUGE misunderstanding on my part!I thought I didn't have to put &username=[username]&password=[password] into replace or delete contexts or forms or urls unless there were fields in the database with exactly the same names.Was I wrong about this?Sincerely, Ken Grome WebDNA Solutions 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:

Displaying photo attached to first record (1997) PROBLEM (1997) PCS Emailer's role ? (1997) date format (another question) (2000) Multiple Stores and WebCatalog Prefs (1997) Beta 3.0.3 fix for serial# problem (Mac) (1998) emailer settings and control questions (1997) Webcatalog, Webstar and Crasharama (1999) The beginning (1997) &summ=T >> numfound (2002) protect (summer holidays with wcat???) (2000) rename a file (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Protecting webdelivery (1997) Reloading adds items - how to prevent?? (1998) [Sum] function? (1997) cart file creation (2003) Attn: Bug in GeneralStore example b15 (1997) textarea to page display (1998) Summarising on two fields (1998)