On mySimon: Tom Ford Aviator Sunglasses
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 17 of 22:
Next »
« Previous
It depends...
Ajax is not a technology, it is a mix of technlogies and hence it is better thought of as a "methodology", a way of developing rich gui web applications. It really depends on how you implement the client - server communcations handling and especially the server handling of "Ajax" messages whether an Ajax application is secure or insecure. I have written a white paper about this. The onus is on the programmer to make sure their Ajax implementation is secure. A lack of understanding or knowledge of the technologies involved can lead to insecure Ajax applications so it is an inherent risk without MS's involvement or fault.

Examples of possible security breaches include:
? Script injection to corrupt or destroy data stores via the XMLHttpRequest object
? Script injection to capture personal details such as contact or credit card details via the XMLHttpRequest object
? GUI elements hidden by Ajax can easily be accessed by expert JavaScript users
? Injection of malformed data, via the XMLHttpRequest object, which can lead to denial of service.

Some simple rules that Ajax developers and QA personnal need to keep in mind in order to reduce the risk of security breaches and performance degradation are:
? If you use user authentication, make sure you check for it on the request page
? Check for SQL injections
? Check for JavaScript injections
? Keep the business logic on the server
? Don't assume every request is real
? Check the data with validation and XML content filtering
? Inspect the request's header information and make sure it is correct
? Consider how to deal with the asynchronous nature of Ajax responses
? Implement encryption of all communications between the client and server
? Establish and implement a protocol of trust between the client and server to make sure that no other outside entity can masquerade as either
? Implement caching and control of requests to make sure only ?valid? requests are processed and acted upon by the server
? Implement XML acceleration capabilities and techniques for transmitting (for e.g XML compression), parsing and validating XML messages
? Use a security testing suite which can check for Ajax vulnerabilities in the application; the benefits far outweigh the costs

Keep in mind that Ajax as a mainstream way of developing rich gui web based applications is still quite new and when every Tom, Dick and Harry web developer decides to implement Ajax because it's "cool" we do have potential problems on our hands, as has been pointed out by many experts. There already have been a number of documented security breaches because of websites with unsecure Ajax implementations.
Posted by: the_seb   Posted on: 09/12/06 You are currently: a Guest | Members login | Terms of Use

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

new Crapware from M$  Linux Geek | 09/11/06
I have your answer  No_Ax_to_Grind | 09/11/06
cant you shut your mouth  hopefulcoder | 09/11/06
Don't feed it,  Prognosticator | 09/11/06
Microsoft will support Linux; all software compatable  mighetto | 09/11/06
Oh please...  Prognosticator | 09/12/06
No business can ignore those Linux Phone Computers  mighetto | 09/12/06
Port Microsoft Web and Server Apps to Linux  mighetto | 09/12/06
There is a reason Oracle gives AJAX away free  mighetto | 09/11/06
That didn't make any sense  Yensi717 | 09/11/06
Agreed and guess who gave the world Ajax?  the_seb | 09/12/06
Partners Duped  mighetto | 09/12/06
Agreed and guess who gave the world Ajax?  the_seb | 09/12/06
Not just Oracle, Google dumping AJAX as well  mighetto | 09/12/06
I disagree partly  the_seb | 09/13/06
Microsoft and AJAX ....  bportlock | 09/12/06
It depends...  the_seb | 09/12/06
Proof  techJerk | 09/12/06
Apologies  the_seb | 09/12/06
And on the topic of being pedantic  the_seb | 09/12/06
Why AJAX when you have ActiveX?  Roger Ramjet | 09/12/06
Excellet!!!  mighetto | 09/12/06

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

SmartPlanet

Click Here