<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nils Preusker &#187; security</title>
	<atom:link href="http://www.nilspreusker.de/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nilspreusker.de</link>
	<description>Pragmatic Technologist</description>
	<lastBuildDate>Tue, 23 Mar 2010 10:44:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Security Patterns revealed&#8221; Talk at Devoxx08</title>
		<link>http://www.nilspreusker.de/2008/12/18/security-patterns-revealed-talk-at-devoxx08/</link>
		<comments>http://www.nilspreusker.de/2008/12/18/security-patterns-revealed-talk-at-devoxx08/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 10:51:18 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Devoxx]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.nilspreusker.de/?p=17</guid>
		<description><![CDATA[This talk was given by Mike Wiesner, Senior Consultant at SpringSource.
Missing input validation is the root of all evil!
- Mike Wiesner, Devoxx 2008
Mike started by showing an overview of the most important security threats in web applications. The top three are cross-site scripting, SQL injection and directory traversal (Example). In other words, by paying attention [...]]]></description>
			<content:encoded><![CDATA[<p>This talk was given by <a title="Mark Wiesner" href="http://www.mwiesner.com/" target="_blank">Mike Wiesner</a>, Senior Consultant at SpringSource.</p>
<blockquote><p>Missing input validation is the root of all evil!<br />
- Mike Wiesner, Devoxx 2008</p></blockquote>
<p>Mike started by showing an overview of the most important security threats in web applications. The top three are cross-site scripting, SQL injection and directory traversal (<a href="http://www.securiteam.com/unixfocus/5JP0E1FKUK.html">Example</a>). In other words, by paying attention to proper input validation in your web application, you can prevent about 80% of potential security issues.</p>
<p>He talked in depth about the following patterns:</p>
<p><strong>Intercepting Validator</strong></p>
<ul>
<li>Client-side validation is just a way to make the application more user friendly, it can not replace server side validation</li>
<li>JSR 303 &#8211; Bean Validation -&gt; AOP can be used as Intercepting Validator</li>
</ul>
<p><strong>Single Accesss Point</strong></p>
<ul>
<li>Reference Monitor with AOP</li>
<li>security is applied by annotations on method level</li>
<li>advantage is that you can test security and functionality separately -&gt; security tests don&#8217;t execute application logic and security can be disabled for functional tests</li>
</ul>
<p>These are a few other patterns he mentioned:</p>
<ul>
<li>Role Based Access Control or Role Based Security (<a title="RBAC" href="http://en.wikipedia.org/wiki/Role-based_access_control" target="_blank">Wikipedia article</a>)</li>
<li>Role-Rights Definition</li>
<li>Controlled Object Factory</li>
<li>Data Driven Security</li>
<li>Multi-Level Security</li>
<li>Security Session</li>
</ul>
<p>An other interesting thing he mentioned is <a title="XACML" href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xacml" target="_blank">XACML</a>, a security policy management standard from OASIS that defines security policies in XML.</p>
<p>Apart from the patterns, that are definitely worth looking at, what I took home from this talk is that the most important thing when implementing security is to think. Patterns are just abstract ideas to help creating a good design for your application. They are not blue prints that can be applied blindly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nilspreusker.de/2008/12/18/security-patterns-revealed-talk-at-devoxx08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
