Filed in archive
AJAX
by gautam on September 18, 2006

There are chances that Ajax could be exploited as most of the web applications comply with a similar origin policy which compels them to connect to the server which delivered the base page but this is not applicable to Ajax scripts. There is always a fear of malicious scripts stealing data stored in cookies or directly accessing the originating server. For e.g. cross site scripting vulnerabilities could be easily exploited.
Michael Cobb has stated five steps as to how you could thwart these threats:
1. The key coding discipline of never trusting the client still applies, so any security controls should be implemented on the server and never controlled by the user.
2. Initially, keep the application straightforward. Reducing and simplifying any Ajax calls makes it easier to evaluate all possible types of requests that can be generated by a page or application during security testing.
3. Document and explain how the application communicates with the server and handles the responses it receives. Cover such issues as SSL connections for sensitive information.
4. Complete security testing prior to moving the application online, with special emphasis placed on checking for access control and input validation flaws.
5. Visit the Web Application Security Project for help with developing secure Ajax applications.
Permalink: How to Make Ajax Secure
Trackback: http://publish.creative-weblogging.com/publish/mt-tb.pl/36637
Mr Wong
Vote for How to Make Ajax Secure:
|
Rating: 6.11 out of 9 vote(s) cast.
|
Subscribe
Use the search to look for other interesting posts
| RSS | See all blog subscribe options |
|
What is RSS? | |
| Yahoo! |
|
| Addthis |
|
| Bloglines |
|
| Newsletter | |
| Follow us on Twitter! |










