Re: writefile on OSX

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59475
interpreted = N
texte = 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: writefile on OSX ( Chris 2004)
  2. Re: writefile on OSX ( devaulw@onebox.com 2004)
  3. Re: writefile on OSX ( Clint Davis 2004)
  4. Re: writefile on OSX ( Chris 2004)
  5. Re: writefile on OSX ( "Nitai @ ComputerOil" 2004)
  6. Re: writefile on OSX ( "WebDna @ Inkblot Media" 2004)
  7. writefile on OSX ( Chris 2004)
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/ devaulw@onebox.com

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:

Using Applescript to process WebCatalog functions (1998) includes and cart numbers (1997) WebCatalog can't find database (1997) Extended [ConvertChars] (1997) WebCatalog for guestbook ? (1997) Can't use old cart file (was One more try) (1997) How long does a cart last? (2002) WebCatalog security on NT (2000) Summary search -- speed (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Unexpected error (1997) Configuring E-mail (1997) Auto Unsubscribe (2000) Closing databases (2003) PCS Frames (1997) Problem (1997) problems with 2 tags (1997) multiple file uploads (2002) Major Security Hole (1998) Re:PCS Customer submissions ? (1997)