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 -0500To: "WebDNA Talk" Subject: Re: writefile on OSXYou may not want to use 777 permissions for security reasons. The directorywhere you're trying to put the file just needs write permissions for the wwwuser. Example: if the file is owned by www, you could simply make thepermissions 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:
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 -0500To: "WebDNA Talk" Subject: Re: writefile on OSXYou may not want to use 777 permissions for security reasons. The directorywhere you're trying to put the file just needs write permissions for the wwwuser. Example: if the file is owned by www, you could simply make thepermissions 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:
Last Day of the Month (2005)
How many lookups does it take ... (2003)
question: webmerchant connection (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Re:Can someone remove this guy with the 186k emails!? (Thanksfor the email!) (1998)
Not really WebCat- (1997)
getmimeheader host on my local machine (2003)
passing search criteria (1997)
WebCat2b15MacPlugin - [protect] (1997)
Authenticate (1997)
Running _every_ page through WebCat ? (1997)
[WebDNA] Calendar script (2009)
WebCat2b15MacPlugin - [protect] (1997)
OT: P3P (was Shop from PDF) (2004)
[OT] "&" char in Flash animation (2006)
[WebDNA] Calendar Edit (2010)
pc (1997)
[Off Topic]Bay To Breakers (or WebCatalog Beats Intershop) (1998)
[WebDNA] Search using CL (2017)
WebCatalog can't find database (1997)