In a servlet I have a config text file. How to prevent web access to it?
So that only servlet code can get access to it?
It is not encrypted and lays in the subdirectory of WebContent.
In a servlet I have a config text file. How to prevent web access
Share
Anything under
WEB-INFcannot be served directly as web content; it can only be accessed by logic running server-side, like a servlet or JSP.