Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Security Hardening . . . . . . . (was Re: [tlug] Host Blocking and Logfile Parsing)
- Date: Sun, 21 Jan 2007 19:23:47 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Security Hardening . . . . . . . (was Re: [tlug] Host Blocking and Logfile Parsing)
- References: <Pine.NEB.4.64.0701201053020.1314@example.com> <1169300108.24083.7.camel@example.com> <Pine.NEB.4.64.0701211038210.1314@example.com> <20070120220108.6538fc7c.jep200404@example.com>
Jim writes: > Learn how to write safe shell scripts. That's not easy. > Many PHP exploits involve badly written PHP code. > As with shell scripts, learn how to write safe PHP code. That's a dodge. Exploits of badly written code should be listed as exploits of badly written code, not attributed to the language or platform (unless they basically amount to contributory negligence). The fact is that PHP has had a long track record of exploits in PHP itself. My basic feeling is that web scripting languages that are designed to be "called" from HTML[1] are inherently dangerous, and I'm not surprised that PHP is a victim (for those who care about my unsubstantiated intuition). The big advantage to the sandboxing method is that it gives the inexperienced developer a way to discover what "least privilege" is in his application. If cut'n'try is too slow, he can either book up so he gets it "more right" the first time, or just rely on "learning by doing" to kick in and give him better "intuition" on followup projects. Footnotes: [1] The distinction is against frameworks like Zope which place the burden of checking access on the framework, rather than distributing it across the scripts, the server, and the file system.
- References:
- [tlug] Host Blocking and Logfile Parsing
- From: Curt Sampson
- Re: [tlug] Host Blocking and Logfile Parsing
- From: scott
- Re: [tlug] Host Blocking and Logfile Parsing
- From: Curt Sampson
- Security Hardening . . . . . . . (was Re: [tlug] Host Blocking and Logfile Parsing)
- From: Jim
Home | Main Index | Thread Index
- Prev by Date: [tlug] TLUG site is becomming a spammers delight!
- Next by Date: Re: [tlug] TLUG site is becomming a spammers delight!
- Previous by thread: Re: Security Hardening . . . . . . . (was Re: [tlug] Host Blocking and Logfile Parsing)
- Next by thread: [tlug] Keyboard mappings
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links