<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pierre+Ernst</id>
		<title>OWASP - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pierre+Ernst"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php/Special:Contributions/Pierre_Ernst"/>
		<updated>2026-05-27T04:16:14Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=User:Pierre_Ernst&amp;diff=141823</id>
		<title>User:Pierre Ernst</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=User:Pierre_Ernst&amp;diff=141823"/>
				<updated>2013-01-04T17:27:45Z</updated>
		
		<summary type="html">&lt;p&gt;Pierre Ernst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.linkedin.com/in/pernst&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pierre Ernst is a senior member of the IBM Business Analytics Security Competency Group at the Ottawa Lab in Canada. &lt;br /&gt;
A former software developer turned penetration tester, he's responsible for finding security vulnerabilities in IBM applications before they are released.&lt;br /&gt;
Using a combination of manual testing and secure code review, his work complements automated vulnerability scanners. &lt;br /&gt;
Pierre is also responsible for giving guidance to developers on how to mitigate and fix security issues.&lt;/div&gt;</summary>
		<author><name>Pierre Ernst</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Talk:Securing_tomcat&amp;diff=115615</id>
		<title>Talk:Securing tomcat</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Talk:Securing_tomcat&amp;diff=115615"/>
				<updated>2011-08-12T17:07:06Z</updated>
		
		<summary type="html">&lt;p&gt;Pierre Ernst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== InvokerServlet ==&lt;br /&gt;
There needs to be an addendum in here about disabling the InvokerServlet. See my blog entry at [[http://yet-another-dev.blogspot.com/2009/12/this-post-is-especially-for-anyone.html yet-another-dev.blogspot.com]] for details about why this is a bad idea. --[[User:Chris Schmidt|Chris Schmidt]] 22:03, 17 December 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== File permissions ==&lt;br /&gt;
&lt;br /&gt;
Hmm, what does &amp;quot;Make sure tomcat user has read/write access to /tmp&amp;quot; mean?  &lt;br /&gt;
&lt;br /&gt;
Tomcat creates a directory &amp;quot;temp&amp;quot;, not &amp;quot;tmp&amp;quot;, and read/write on a directory doesn't actually allow reading or writing.  I assume the intention is &amp;quot;chmod 700 temp&amp;quot;... would love if anyone can clarify.&lt;br /&gt;
[[User:Douglasheld|Douglasheld]] 18:06, 3 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Newer Tomcat branches ==&lt;br /&gt;
&lt;br /&gt;
This page is hopelessly outdated for anyone working with the Tomcat 6 branch.  We need to figure out the best way to document security measures for the different supported branches.&lt;br /&gt;
[[User:Ken|Ken]] 10:25, 20 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
I've not had call to use Tomcat 6, but in a few months I plan to start experimenting with the embedded version.  I don't mind expanding the article to have a section on 6 (and keep the section on 5.5), but I can't contribute anything just yet.  My preference would be a single article as it will cut down on duplication.  In the meantime, any differences, areas to cover, new features, etc. that others could note down will help speed things up. [[User:Dledmonds|Darren]] 09:11, 26 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== HttpOnly configuration ==&lt;br /&gt;
&lt;br /&gt;
Tomcat versions from 5.5.28 and 6.0.19 support the HttpOnly [http://www.owasp.org/index.php/HttpOnly] cookie option.&lt;br /&gt;
&lt;br /&gt;
This is configured in the conf/context.xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Context useHttpOnly=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;/Context&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[User:Simon Bennetts|Simon Bennetts]] 14:40, 18 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Overriding Tomcat Version Number ==&lt;br /&gt;
&lt;br /&gt;
Rebuilding the catalina.jar to alter ServerInfo.properties may not be an ideal way to override the version number, the same effect can be achieved without repackaging JARs in the default distribution (repackaging can be somewhat intrusive and/or impractical). Classloader classpaths can be patched using strategically placed files on the classpath. Classes that are loaded first always take precedence, the same goes for properties files, hence you can override by creating files in the following places:&lt;br /&gt;
&lt;br /&gt;
 # For Tomcat 5.5 (inject your new file onto the path of the server classloader):&lt;br /&gt;
 ${catalina.home}/server/classes/org/apache/catalina/util/ServerInfo.properties&lt;br /&gt;
&lt;br /&gt;
 # For Tomcat 6 (inject it onto the path of the common classloader, or whichever classloader is loading catalina.jar):&lt;br /&gt;
 ${catalina.home}/lib/org/apache/catalina/util/ServerInfo.properties&lt;br /&gt;
&lt;br /&gt;
In both cases, ${catalina.home} is typically either the root of your local installation, or your global installation if you are making use of disjoint installs using ${catalina.base} to provide instance-specific information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== autoDeploy feature ==&lt;br /&gt;
&lt;br /&gt;
Wouldn't it make sense to disable the autoDeploy feature in production environments for added security?&lt;br /&gt;
&lt;br /&gt;
[[User:Pierre Ernst|Pierre Ernst]] 2011-08-12&lt;/div&gt;</summary>
		<author><name>Pierre Ernst</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Talk:Securing_tomcat&amp;diff=115614</id>
		<title>Talk:Securing tomcat</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Talk:Securing_tomcat&amp;diff=115614"/>
				<updated>2011-08-12T17:06:19Z</updated>
		
		<summary type="html">&lt;p&gt;Pierre Ernst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== InvokerServlet ==&lt;br /&gt;
There needs to be an addendum in here about disabling the InvokerServlet. See my blog entry at [[http://yet-another-dev.blogspot.com/2009/12/this-post-is-especially-for-anyone.html yet-another-dev.blogspot.com]] for details about why this is a bad idea. --[[User:Chris Schmidt|Chris Schmidt]] 22:03, 17 December 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== File permissions ==&lt;br /&gt;
&lt;br /&gt;
Hmm, what does &amp;quot;Make sure tomcat user has read/write access to /tmp&amp;quot; mean?  &lt;br /&gt;
&lt;br /&gt;
Tomcat creates a directory &amp;quot;temp&amp;quot;, not &amp;quot;tmp&amp;quot;, and read/write on a directory doesn't actually allow reading or writing.  I assume the intention is &amp;quot;chmod 700 temp&amp;quot;... would love if anyone can clarify.&lt;br /&gt;
[[User:Douglasheld|Douglasheld]] 18:06, 3 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Newer Tomcat branches ==&lt;br /&gt;
&lt;br /&gt;
This page is hopelessly outdated for anyone working with the Tomcat 6 branch.  We need to figure out the best way to document security measures for the different supported branches.&lt;br /&gt;
[[User:Ken|Ken]] 10:25, 20 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
I've not had call to use Tomcat 6, but in a few months I plan to start experimenting with the embedded version.  I don't mind expanding the article to have a section on 6 (and keep the section on 5.5), but I can't contribute anything just yet.  My preference would be a single article as it will cut down on duplication.  In the meantime, any differences, areas to cover, new features, etc. that others could note down will help speed things up. [[User:Dledmonds|Darren]] 09:11, 26 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== HttpOnly configuration ==&lt;br /&gt;
&lt;br /&gt;
Tomcat versions from 5.5.28 and 6.0.19 support the HttpOnly [http://www.owasp.org/index.php/HttpOnly] cookie option.&lt;br /&gt;
&lt;br /&gt;
This is configured in the conf/context.xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Context useHttpOnly=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;/Context&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[User:Simon Bennetts|Simon Bennetts]] 14:40, 18 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Overriding Tomcat Version Number ==&lt;br /&gt;
&lt;br /&gt;
Rebuilding the catalina.jar to alter ServerInfo.properties may not be an ideal way to override the version number, the same effect can be achieved without repackaging JARs in the default distribution (repackaging can be somewhat intrusive and/or impractical). Classloader classpaths can be patched using strategically placed files on the classpath. Classes that are loaded first always take precedence, the same goes for properties files, hence you can override by creating files in the following places:&lt;br /&gt;
&lt;br /&gt;
 # For Tomcat 5.5 (inject your new file onto the path of the server classloader):&lt;br /&gt;
 ${catalina.home}/server/classes/org/apache/catalina/util/ServerInfo.properties&lt;br /&gt;
&lt;br /&gt;
 # For Tomcat 6 (inject it onto the path of the common classloader, or whichever classloader is loading catalina.jar):&lt;br /&gt;
 ${catalina.home}/lib/org/apache/catalina/util/ServerInfo.properties&lt;br /&gt;
&lt;br /&gt;
In both cases, ${catalina.home} is typically either the root of your local installation, or your global installation if you are making use of disjoint installs using ${catalina.base} to provide instance-specific information.&lt;br /&gt;
&lt;br /&gt;
[[User:Pierre Ernst|Pierre Ernst]] 2011-08-12&lt;br /&gt;
&lt;br /&gt;
== autoDeploy feature ==&lt;br /&gt;
&lt;br /&gt;
Wouldn't it make sense to disable the autoDeploy feature in production environments for added security?&lt;/div&gt;</summary>
		<author><name>Pierre Ernst</name></author>	</entry>

	</feed>