Re: Remote Administration

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20409
interpreted = N
texte = >I'd rather not >grant ftp access to users given the power of webdna. All they need to do is >update the database fileI think it would be better to provide a special upload folder that does not have WebDNA execute rights (such right are up to your server software), so you can let people upload their new database there, and then have them hit a URL which contains some WebDNA to copy the file into the correct place and unload the databases.Also remember that if a database is read-only (meaning you never execute any WebDNA that would change records in it) then it is always safe to flush the database even if the new file is sitting there on disk. Basically, WebCatalog is smart enough to know that it needn't write out a database that has never been modified, so conversely you can upload over top of the file and execute a flush with no problems.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Remote Administration (PCS Technical Support 1998)
  2. Remote Administration (Michael Scott Davis 1998)
  3. RE: Remote administration (Pat McCormick 1998)
  4. RE: Remote administration (Dave MacLeay 1998)
  5. Re: Remote administration (PCS Technical Support 1998)
  6. Remote administration (charles kline 1998)
>I'd rather not >grant ftp access to users given the power of webdna. All they need to do is >update the database fileI think it would be better to provide a special upload folder that does not have WebDNA execute rights (such right are up to your server software), so you can let people upload their new database there, and then have them hit a URL which contains some WebDNA to copy the file into the correct place and unload the databases.Also remember that if a database is read-only (meaning you never execute any WebDNA that would change records in it) then it is always safe to flush the database even if the new file is sitting there on disk. Basically, WebCatalog is smart enough to know that it needn't write out a database that has never been modified, so conversely you can upload over top of the file and execute a flush with no problems.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

[WebDNA] Major grep/convertchars linux issues when writing to db (2010) Test (2002) Append File help needed (2000) [WebDNA] table comma field delimiter bug? (2012) Date to Daze (1999) PIXO (1997) A dynamic database. (1997) b12 cannot limit records returned and more. (1997) BUG REPORT -- Refusing connections! (1999) Two submit buttons ? (1997) [WebDNA] How about a timer feature? (2009) SSL and reg web* (1997) Read and weep (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WC Database Format (1997) emailer on Windows Beta 18 (1997) [WebDNA] Issues regarding static vs. dynamic pages (2011) Webcat OSX (2001) Emailer setup (1997) [UPPERCASE] (1997)