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:

Rendering out a page-test results (1997) reading a email (2000) So when do we get something similar? (1998) All choices on IE different than Netscape (1997) [OT] Moving to Wisconsin (2002) ExclusiveLock question (2005) Quick Question About Sorting (1997) Newbie Tax Question (1997) Multiple fields on 1 input (1997) Sorting Round 2 plus (1998) [WebDNA] Integrating with WP and PHP (2011) NT BETA BUG???? (1997) WebCatalog can't find database (1997) Where is f2? (1997) cart info (1998) corrupted jpgs (2003) Bug Report, maybe (1997) PCS Emailer's role ? (1997) Saving results of a multiple select (2002) WC Database Format (1997)