News for hackers. Stuff that matters.
Re:Is the lack of computer security due to programmer lazine... by sendos on Wednesday June 29, 2011 @07:27PM (#2711791)
Can there be an OS and/or language where, making something secure comes by default when you write anything, thereby rendering obsolete the need to make something secure after you make a prototype?

e.g. a language that automatically does array bounds checks, whether the programmer asks for them or not.

Such a system would protect against managers and bosses' demands as well as against lazy and security-incompetent programmers.

Re:Is the lack of computer security due to programmer lazine... by bartonfink on Wednesday June 29, 2011 @07:46PM (#2711855)
The problem is that "secure" isn't a well-founded concept. For instance, Java does the array bounds checks you're talking about (and throws an ArrayIndexOutOfBoundsException if they fail). It checks memory accesses and won't let you access memory that's been freed or is otherwise invalid. It does

However, I don't think anybody could seriously say that Java is totally "secure." There are plenty of security-related things that could go wrong (e.g. a man-in-the-middle attack) that Java can't handle unless the developer takes steps to prevent them. By definition, that isn't "by default."

If you want to prevent security problems "by default", you're going to need to specify each problem you want handled, and you're going to need to recognize that there are a lot of security problems that a language or OS simply can't stop by themselves.

Re:Is the lack of computer security due to programmer lazine... by wmf on Wednesday June 29, 2011 @07:56PM (#2711876)
That technology exists, but it would cost $100B to adopt it because it's not backwards compatible.