Turning off JSP access

To turn off JSP access in your JBoss or other favorite application server add this to your web.xml.



  
    you_cant_touch_this
    *.jsp
  
  

To prevent Apache from sending JSP requests to JBoss add the following to your configuration.

## DISALLOW FROM REACHING JBOSS (security-related filter):
!/*.jsp=name_of_your_app
!/*.xml=name_of_your_app


Leave a Reply

Your email address will not be published. Required fields are marked *