Setting up a custom 404 error page serves two purposes:
- It allows you to present your users a nice message rather than the ugly, server-generated default page.
- It serves to mask the server’s identity – so, security is a little better.
Seam is quite a good and secure framework as far as frameworks go. However, with a simple ServletFilter, it can be made just a little bit more secure, and maybe help you pass that next audit. In this post you’ll see how to define a Seam servlet filter to secure your website just a little bit more.