|
The easiest way:
You also know that others cannot directly access the files under your WEB-INF. You can put the things you don’t want others to access directly under WEB-INF, but you have to modify all the submission directories and see your project. It's over, it's probably not suitable, you can try it later.
The second method:
You can do some processing in the filter, such as: not logged in and then return.
If you are a Struts architecture, you can override the RequestProcess class and do some processing.
The dumbest way:
You can make judgments on every page. |
|