I am new to Java programming and have a web app on my server. I upload it to my public_html folder and it is then automatically deployed. It works fine that way, except nothing is preventing someone from downloading the .war directly from public_html. How would I prevent this from happening?
The project is running on tomcat.