In a web application (war) I have a config text file. How to prevent web access to it?

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-03-17T07:57:06Z Indexed on 2010/03/17 8:01 UTC
Read the original article Hit count: 203

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about servlet