This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See I'm using a global.jsa file to initialize some classes, in particular, I'm creating a list of database connection strings. This is all working perfectly.
However, if I key in the URL to the global.jsa file directly, it sends the SOURCE of the code to the browser! This includes the database connection strings, usernames and passwords!
As you can imagine, this is not good. Is there a way to prohibit JRun from serving up requests for global.jsa files? Is there a trick around this?
Thanks for any help,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!