How to make files in WAR outside of WEB-INF not accessible via HTTP

Solution Unverified - Updated -

Issue

Any file under deployment is directly accessible via HTTP if the path is provided. Need to close this, files like JSPs should not be allowed to be downloaded

Environment

  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content