main website home
  • About this blog

    This blog features updates, opinions, and technical notes from Caucho engineers about Caucho products, the enterprise Java industry, and PHP. Caucho Technology is the creator of the Resin Application Server and the Quercus PHP in Java engine. A leader in Java performance since 1998, Caucho is a Sun JavaEE licensee with over 9000 customers worldwide.
  • Tags

    ajaxworld bam candi cdi cloud cluster comet configuration deploy devoxx eclipse ejb embedded flash flex google app engine hessian hmtp ioc java ee 6 javaone javazone jms messaging newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp spring testing training tssjs watchdog webbeans web profile websockets wordpress
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Posts Tagged ‘xss’

XSS, Servlet Filters, and PHP

Tuesday, July 8th, 2008

Last night, I attended the San Francisco Java Meetup which was led by Jason Brittain on the topic of Cross Site Scripting (XSS). This is a serious security problem and Jason offered one solution: using Servlet filters to remove illegal input in user parameters. He has his own filter which will soon be available on SourceForge. He also mentioned the XSS filter from Stripes Framework. These are general solutions that may or may not be appropriate for your application, but they’re worth a look.

A question came up toward the end of the session on how to do this for PHP. My answer was simple: use Servlet filters! Quercus is available as a Servlet, so you can just insert these or other filters in front of (or behind) it. I understand there may be some PHP solutions for this, but this opens the option using a servlet filter as well. This area is still being developed, but if a servlet filter becomes one of the better known, recognized ways of doing really good XSS attack filtering, you’ll be set using Quercus.

Tags: quercus, xss
Posted in Engineering | No Comments »


Caucho Technology is proudly powered by WordPress and Quercus®
Entries (RSS) and Comments (RSS).

  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • BLOG |
  • WIKI 4 |
  • WIKI 3 |
  • Resin: Java Application Server
Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
resin® is a cloud optimized, java® application server that supports the java ee webprofile ®