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]Re: [tlug] Do you whitelist or blacklist utf-8?
- Date: Thu, 24 Feb 2011 23:03:44 +0900
- From: Nikolay Elenkov <nick@example.com>
- Subject: Re: [tlug] Do you whitelist or blacklist utf-8?
- References: <4D639689.1010302@example.com> <4D63EFBC.1020900@example.com> <4D64C5DD.1040607@example.com> <4D64CB49.10906@example.com> <4D652AF5.10304@example.com> <4D655712.1090608@example.com> <37687.61.213.3.170.1298510044.squirrel@example.com> <4D661A15.8010009@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7
On 02/24/2011 05:43 PM, Darren Cook wrote:And, yeah, for better security, don't use PHP :)Do you have any evidence to support that statement?You've probably already seen the other replies, but the number of PHP vulnerabilities was overwhelming a few years back.I don't really follow any more, so maybe things have gotten better over time, but I kind of doubt i.Security always seems, to me, to be dominated by the programmer's understanding of security issues; language features are quite minor. I.e. the same programmer will write safe or dangerous code whichever language he uses.I am pretty sure you could write a perfectly safe 30 000 line CGI in C, if you know what you are doing. But it's hard, and it's easier to make mistakes when you are dealing with low level code. The lower the level, the more code you have to write, the greater the chance of bugs/vulnerabilities, etc.(As far as I know, PHP has all the required functions for writing safe code, such as htmlspecialchars(), urlencode(), strip_tags(), filter_var(), regexes, etc.)PHP makes it easy to deal with Web input/output, and because of this a lot of people don't use any higher level frameworks, just the (fairly low level) native PHP functions. It's hard to cover all the bases with those even if you know what you are doing, and most people starting off with PHP don't.
- Follow-Ups:
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Stephen J. Turnbull
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Darren Cook
- References:
- [tlug] Do you whitelist or blacklist utf-8?
- From: Dave M G
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Shmuel Fomberg
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Dave M G
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Shmuel Fomberg
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Dave M G
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Shmuel Fomberg
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Nikolay Elenkov
- Re: [tlug] Do you whitelist or blacklist utf-8?
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Do you whitelist or blacklist utf-8? [SOLVED]
- Next by Date: Re: [tlug] cacert question
- Previous by thread: Re: [tlug] Do you whitelist or blacklist utf-8?
- Next by thread: Re: [tlug] Do you whitelist or blacklist utf-8?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links