| By Lori MacVittie | Article Rating: |
|
| January 8, 2010 01:00 PM EST | Reads: |
1,139 |
Being an efficient developer often means abstracting functionality such that a single function can be applied to a variety of uses across an application. Even as this decreases risk of errors, time to develop, and the attack surface necessary to secure the application it also makes implementing security more difficult.
Over the holidays I had the opportunity to do some coding on my latest web application project. I won’t bore you with the details of what it is because it’s to support a hobby of Don and mine except to say that it’s running on a LAMP stack and heavily data-driven. But then what isn’t data-driven on the web these days?
Now I’m an old skool OO (Object Oriented) programmer and a typical developer. That is to say that I’m basically lazy and hate to code and recode the same thing over and over so I employ every trick I can to avoid doing so. That means abstraction and taking advantage of some of the more flexible capabilities of loosely-typed scripting languages like PHP. Reuse is my best friend, and I’ll take a little extra time to write a single method if I think I can reuse it across the entire application and thus save a lot of extra time. I also rely heavily on AJAX (the PHP XAJAX framework to be exact) to provide a more interactive application for our users.
I was debugging one of those reusable functions that’s called often via AJAX when it occurred to me how difficult it was to secure such a beast for several reasons but primarily because securing this single function would basically negate all the gains in productivity and efficiency I’d gained by implementing it in the first place.
Read the original blog entry...
Published January 8, 2010 Reads 1,139
Copyright © 2010 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Lori MacVittie
Lori MacVittie is responsible for education and evangelism of application services available across F5’s entire product suite. Her role includes authorship of technical materials and participation in a number of community-based forums and industry standards organizations, among other efforts. MacVittie has extensive programming experience as an application architect, as well as network and systems development and administration expertise. Prior to joining F5, MacVittie was an award-winning Senior Technology Editor at Network Computing Magazine, where she conducted product research and evaluation focused on integration with application and network architectures, and authored articles on a variety of topics aimed at IT professionals. Her most recent area of focus included SOA-related products and architectures. She holds a B.S. in Information and Computing Science from the University of Wisconsin at Green Bay, and an M.S. in Computer Science from Nova Southeastern University.
- How to Make "mailto" Safe Again
- Cloud Balancing, Reverse Cloud Bursting, and Staying PCI-Compliant
- Scale Up or Scale Out?
- Scaling AJAX Applications Is More About Architecture than Apache
- REST API Developers Between a Rock and a Hard Place
- Return of the Web Application Platform Wars
- That Whole Concept Is Broken
- Layer 7 (Protocol) versus Layer 7 (Application)
- How to Gracefully Degrade Web 2.0 Apps
- Microsoft Hops Into Infrastructure 2.0
- Knowing Is Half the Battle
- The Devil Is in the Details
- Following Google's Lead on Security? Don't Forget to Encrypt Cookies
- Infrastructure 2.0: Squishy Name for a Squishy Concept
- How to Make "mailto" Safe Again
- Cloud Balancing, Reverse Cloud Bursting, and Staying PCI-Compliant
- Why Is Reusable Code So Hard to Secure?
- Scale Up or Scale Out?
- What Does It Mean to Align IT with the Business?
- Pursuit of Intercloud is Practical not Premature
- Scaling AJAX Applications Is More About Architecture than Apache
- REST API Developers Between a Rock and a Hard Place
- Virtual Server vs Virtual IP Address
- Return of the Web Application Platform Wars
- Finding New Life For SOA in the Cloud
- Disaster Recovery in a Web 2.0 World
- Is Social Media a Hostile Work Environment?
- Dear Slashdot: You Get What You Pay For
- If Load Balancers Are Dead Why Do We Keep Talking About Them?
- Get Your SaaS Off My Cloud
- Governance: Service Catalogs and the Cloud
- Twittergate Reveals E-Mail is Bigger Security Risk than Twitter
- Maybe Ubuntu Enterprise Cloud Makes Cloud Computing Too Easy
- Cloud Computing Is Not Burger King
- Differentiating the Application Network from the Network
- JSON versus XML: Your Choice Matters More Than You Think

























Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.