- TalkBack 1 of 30:
- Next »
- Thread View
- Flat View
- Murph - you're stuck in the 80s
-
The simplest programming statement of the lot is the GOTO. It is also the most dangerous because you can do *anything* with it. You can cross loops, functions, procedures, etc and corrupt return stacks and so forth. That is why it is so dangerous - because it is *so* easy to use.
The harder thing is getting a programmer to be disciplined enough to use it correctly in all instances.
"I found it to be a fairly common opinion with many writers claiming that languages like Java (and therefore C#) make it easy to write safe code"
That should be *safer* code, not safe code.
while cheerfully referring to the insecurity of things like pointer usage in C as if these were real language issues - - which they?re not
Oh yes they are. The pointer is C's achilles heel because, like the GOTO, there are no restrictions on what the programmer can do with it.
"C rely on binary executables generated by compilers that can themselves introduce dangerous generalisations"
Faulty compilers are a risk for any language
"What makes a Java application harder to attack isn?t a language intrinsic but the addition of a software layer; or sand box"
Wrong again Murph. What make Java harder to attack than C is the factor that the code generates less vulnerabilities. The lack of pointers in Java, the lack of the GOTO statement, the use of classes and libraries of proven code, the enforcement of try...catch blocks - these are what makes Java's code safer than C's code.
C's standard library functions are vulnerable to buffer overflow attacks, particularly something as innocuous as strcpy. It's only copying a string - and it's dangerous! That fact that Java stops you "falling off the end" of a string eliminates a whole raft of possible errors. - Posted by: bportlock Posted on: 06/25/07 You are currently: a Guest | Members login | Terms of Use
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- Why Isn't Server Virtualization Saving Us More? A Few Small Changes May Dramatically Increase Your Efficiency VMware Companies have rapidly adopted server virtualization over the past few ... Download Now
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- The True Costs of Virtual Server Solutions VMware In an economic environment that is repeatedly heralding the message "do ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer >>
- Learn more about tools to grow your business
-
The Business Essentials Guide provides you useful tools and templates to help grow your business and save you time with automated shipping solutions.
- Save time with the UPS Business Essentials Guide
- Keep Up With The Latest In Document Management with The DocuMentor.
-
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
- Learn more >>
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- How to Drive Better Business Outcomes with Exceptional Web Experiences Download the eBook
- Driving Business Agility through SOA Connectivity & Integration Read the White Paper from IBM
- Linking Decisions and Information for Organizational Performance Read the Tom Davenport study







