Re: writefile on OSX
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59476
interpreted = N
texte = 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.chrisOn 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/
Associated Messages, from the most recent to the oldest:
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.chrisOn 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/
Christophe Billiottet
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:
WebCatalog2 Feature Feedback (1996)
[WebDNA] Record click-thrus (2008)
PSC recommends what date format yr 2000??? (1997)
Nested tags count question (1997)
Help name our technology! (1997)
Security stumper [mildly OT] (2004)
Question re: FlushDatabases (1997)
Safe command=append (1999)
PIXO support (1997)
[WebDNA] IIS 5.1 and WebDNA 6.2 - yippy ....it is working (2012)
WC2b12: Yes, Formulas.db is for real (1997)
extending webcatalog (1997)
Somewhat OT: IE issues (2002)
Date search - yes or no (1997)
Problems with [Applescript] (1997)
Pirated WebCat? NOT... (2003)
Emailer (1997)
NT 4.0/IIS WebCat Installation (1998)
PCS Frames (1997)
[format 40s]text[/format] doesn't work (1997)