The Jakarta Project
      Tomcat FAQ

Tomcat FAQ

Security

Preface

Security issues. But first a helpful link or two ...

Questions
Answers
OH NO! PORT 8005 is available for anyone on localhost to shutdown my tomcat!
What about Tomcat running as root?
How to I force all my pages to run under HTTPS?
What is the default login for the manager and admin app?
The admin and manager application do not provide a default login. Doing so is a security flaw. You need to edit $CATALINA_HOME/conf/tomcat-users.xml if you are using the default install. Configuring Manager Application Access

How do I restrict access by ip address or remote host?
By using the RemoteHostValve or RemoteAddrValve. Warning, these valves rely on accurate incoming ip addresses or hostnames. So they can fall victim to spoofing! Valve Reference Link


Copyright © 1999-2003, Apache Software Foundation