Paul Krill
Editor at Large

Steps advised for secure AJAX

news
Mar 23, 20071 min

Yes, there are security issues with AJAX (Asynchronous JavaScript and XML) but they can be overcome, an IT official said at TheServerSide Java Symposium on Thursday evening.

“The usability benefits of AJAX are tremendous and as we’ve seen, the inherent security limtations of AJAX are no greater than the inherent security limitations of Web 1.0,” said Ted Goddard, senior software architect at Icesoft.

Security measures to be taken include not hand-coding SQL in a manner such that user input going through SQL would open up a vulnerability to SQL injection attacks. Also, arbitrary user input should not be permitted to come out via HTML into the page, because this opens up a vulnerability to JavaScript injection, Goddard said.

Developers should use the Java persistence layer together with a framework. AJAX frameworks such as Dojo or Icesoft’s Icefaces can assist with security. But each framework varies as far as its security strengths, according to Goddard.

“It has to be the case that the framework that you use naturally leads people to build secure apps,” Goddard said.

During a presentation on Thursday, Goddard noted security issues that can occur with Web applications, such as denial of service attacks and cross-site scripting vulnerabilities.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author