Doing what I can

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59477
interpreted = N
texte = Check out the WebDNA comments: On Sep 23, 2004, at 9:16 AM, Christophe Billiottet wrote: > Security will not be a problem in this case, as it is an intranet and > the file to be written is just for a spool folder for a printer. > Anyway, thank you for those wise advices and true, i should have > warned in my summary. > > chris > > On Sep 23, 2004, at 11:00, devaulw@onebox.com wrote: > >> This advice is absolutely correct. You should think about security >> before setting a 777 permissions level. If only webdna or apache >> needs the file, then change the owner (chown) to www or apache as >> appropriate for your OS. Then set permissions (chmod) so that the >> owner can read/write and others can only read (or not). Look for a >> basic book on Unix or check online for an appropriate site. >> >> Others are always trying to hack into your server and only need one >> slightly cracked door to enter. >> >> Bill >> >> -----Original Message----- >> From: Clint Davis >> Sent: Thu, 23 Sep 2004 08:14:07 -0500 >> To: "WebDNA Talk" >> Subject: Re: writefile on OSX >> >> You may not want to use 777 permissions for security reasons. The >> directory >> where you're trying to put the file just needs write permissions for >> the www >> user. Example: if the file is owned by www, you could simply make the >> permissions 644. >> >> >> On 9/23/04 6:56 AM, "Christophe Billiottet" wrote: >> >>> So, here a summary for OSX: >>> - first, Allow 'Absolute Path' in Preferences >>> - then chmod 777 the directory where you want to write the file >>> - the command is [writefile >>> file=*/absolute/path/to/directory/file&secure=F]test[/writefile] >>> >>> it worked like a charm! >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Doing what I can ( Gary Krockover 2004)
  2. Re: Doing what I can ( Donovan Brooke 2004)
  3. Doing what I can ( Patrick McCormick 2004)
Check out the WebDNA comments: On Sep 23, 2004, at 9:16 AM, Christophe Billiottet wrote: > Security will not be a problem in this case, as it is an intranet and > the file to be written is just for a spool folder for a printer. > Anyway, thank you for those wise advices and true, i should have > warned in my summary. > > chris > > On Sep 23, 2004, at 11:00, devaulw@onebox.com wrote: > >> This advice is absolutely correct. You should think about security >> before setting a 777 permissions level. If only webdna or apache >> needs the file, then change the owner (chown) to www or apache as >> appropriate for your OS. Then set permissions (chmod) so that the >> owner can read/write and others can only read (or not). Look for a >> basic book on Unix or check online for an appropriate site. >> >> Others are always trying to hack into your server and only need one >> slightly cracked door to enter. >> >> Bill >> >> -----Original Message----- >> From: Clint Davis >> Sent: Thu, 23 Sep 2004 08:14:07 -0500 >> To: "WebDNA Talk" >> Subject: Re: writefile on OSX >> >> You may not want to use 777 permissions for security reasons. The >> directory >> where you're trying to put the file just needs write permissions for >> the www >> user. Example: if the file is owned by www, you could simply make the >> permissions 644. >> >> >> On 9/23/04 6:56 AM, "Christophe Billiottet" wrote: >> >>> So, here a summary for OSX: >>> - first, Allow 'Absolute Path' in Preferences >>> - then chmod 777 the directory where you want to write the file >>> - the command is [writefile >>> file=*/absolute/path/to/directory/file&secure=F]test[/writefile] >>> >>> it worked like a charm! >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Patrick McCormick

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:

Exclamation point (1997) form data submission gets truncated (1997) [searchString] (1997) WebCat2b12 - nesting [tags] (1997) WebCat2 - Getting to the browser's username/password data (1997) plugin-acgi, different results (1997) Search all Fields in a db (1997) Show items based on login Password (2003) Just a thought (1998) Re:Can this be done? (1997) WebCommerce: Folder organization ? (1997) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) Problems adding stuff to the shopping cart. (1997) Redirect (2000) Caching [include] files ... (1997) Searching for Email Address (2004) [/application] error? (1997) Out of the woodwork (2007) Text data with spaces in them... (1997) PCS Emailer's role ? (1997)