Re: [WriteFile] problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10896
interpreted = N
texte = >I'm really confused at this point. We have about finished a big site >that will give an unlimited number of users access to a database and a >library of templates so they can render their pages to disk at will so >their pages will be found by the search engines. And it seems to be >working fine and WebStar has no problem serving these rendered pages >regardless of the file type issue. So will this or won't this approach >work??Sorry about the confusion -- I hadn't thought it all the way through before. The fact that WebSTAR can see those files created by [WriteFile] is considered a security bug at this point. We want the default file type to be one that WebSTAR won't let people see. You're OK for now because b15 doesn't change the file type.This is a big enough deal that I've broken the 'code lockout' rule and changed the upcoming b16 so that you can optionally tell WebCatalog to make files secure. The default is going to be secure, but you will be able to override it with the following syntax:[WriteFile file=xx.txt&secure=F] [AppendFile file=xx.txt&secure=F]So Karl, for b16 you'll have to change all your templates to use the above syntax if you want rendered pages to be visible.The old syntax, [WriteFile xx.txt] will still work, and it will be equivalent to [WriteFile file=xx.txt&secure=T]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WriteFile] problems (Christer Olsson 1997)
  2. Re: [WriteFile] problems (Grant Hulbert 1997)
  3. Re: [WriteFile] problems (Christer Olsson 1997)
  4. Re: [WriteFile] problems (Karl Schroll 1997)
  5. Re: [WriteFile] problems (Kenneth Grome 1997)
  6. Re: [WriteFile] problems (Grant Hulbert 1997)
  7. Re: [WriteFile] problems (Grant Hulbert 1997)
  8. Re: [WriteFile] problems (Grant Hulbert 1997)
  9. Re: [WriteFile] problems (Karl Schroll 1997)
  10. Re: [WriteFile] problems (Kenneth Grome 1997)
  11. Re: [WriteFile] problems (Grant Hulbert 1997)
  12. Re: [WriteFile] problems (Karl Schroll 1997)
  13. [WriteFile] problems (Karl Schroll 1997)
  14. Re: [WriteFile] problems (John Hill 1997)
>I'm really confused at this point. We have about finished a big site >that will give an unlimited number of users access to a database and a >library of templates so they can render their pages to disk at will so >their pages will be found by the search engines. And it seems to be >working fine and WebStar has no problem serving these rendered pages >regardless of the file type issue. So will this or won't this approach >work??Sorry about the confusion -- I hadn't thought it all the way through before. The fact that WebSTAR can see those files created by [writefile] is considered a security bug at this point. We want the default file type to be one that WebSTAR won't let people see. You're OK for now because b15 doesn't change the file type.This is a big enough deal that I've broken the 'code lockout' rule and changed the upcoming b16 so that you can optionally tell WebCatalog to make files secure. The default is going to be secure, but you will be able to override it with the following syntax:[WriteFile file=xx.txt&secure=F] [AppendFile file=xx.txt&secure=F]So Karl, for b16 you'll have to change all your templates to use the above syntax if you want rendered pages to be visible.The old syntax, [WriteFile xx.txt] will still work, and it will be equivalent to [WriteFile file=xx.txt&secure=T]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Zip Codes (2003) more on my bbs (1997) carriage returns in data (1997) WebCatalog Technical Reference (1997) WC Database Format (1997) How to put the Trademark Symbol (%99) in Sendmail? (2003) is sku a REQUIRED field on NT (1997) [showif],[refferer],[include] in errormessages.db (2002) Discounts (1998) [WebDNA] Searching Possible Bug (2009) AppleScript question (1997) Updated EditPlus Tags (2004) RE: WebCatalog NT beta 18 now available (1997) multiple record replace (2001) ThreadMem ignored? (1998) Country & Ship-to address & other fields ? (1997) Help name our technology! (1997) [OT] Classic Mac (2008) moved shoppingCarts folder... now there's nothing in it. (2001) Secure Server (1997)