<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Don&#8217;t Build A Security System Until There Is Something To Secure</title>
	<atom:link href="http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/</link>
	<description>Better Than Yesterday</description>
	<lastBuildDate>Mon, 20 May 2013 17:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Battaile</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1603</link>
		<dc:creator>Battaile</dc:creator>
		<pubDate>Fri, 10 Jun 2011 17:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1603</guid>
		<description>I really enjoy your blogging Derick, but I have to agree with Carl here.  I recently got a business app (nothing highly sensitive or whathaveyou) dumped on me where I had to &quot;add security&quot; to the website that had just been designed and built.  It was doable, but not as elegant or easy to get done as it would&#039;ve been had there been some consideration given to security from the ground up.  

But whatever, this has the feel of a semantic argument over an issue where all parties actually agree more than disagree.  </description>
		<content:encoded><![CDATA[<p>I really enjoy your blogging Derick, but I have to agree with Carl here.  I recently got a business app (nothing highly sensitive or whathaveyou) dumped on me where I had to &#8220;add security&#8221; to the website that had just been designed and built.  It was doable, but not as elegant or easy to get done as it would&#8217;ve been had there been some consideration given to security from the ground up.  </p>
<p>But whatever, this has the feel of a semantic argument over an issue where all parties actually agree more than disagree.  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: domain and hosting</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1539</link>
		<dc:creator>domain and hosting</dc:creator>
		<pubDate>Fri, 20 May 2011 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1539</guid>
		<description> Nice advice for me. Already I done this mistake but thank God. My friend is expert in this field. She only cleared my mistakes. Thank you for your advice.</description>
		<content:encoded><![CDATA[<p> Nice advice for me. Already I done this mistake but thank God. My friend is expert in this field. She only cleared my mistakes. Thank you for your advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Mehner</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1538</link>
		<dc:creator>Carl Mehner</dc:creator>
		<pubDate>Fri, 20 May 2011 03:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1538</guid>
		<description>
	
	
	
	
	


I definitely am trying to add to the
discussion and strongly believe in building in security to any
application from the ground up. Granted, in my specific circumstance,
security is immensely important, but, nonetheless, I hold that it
ought be architect&#039;d into the base of any application.

So, yes, I do still work at the
compound, (check out the DNS whois db:) my job is awesome and I&#039;m
doing great. I&#039;ve tried to incorporate what you taught me when I was
one of your padawans back two years ago into my design and coding as
best I can, and so far it has worked out pretty well.

Context is important, and even though I
did stretch the bounds of your blog (somewhat to the extreme) I
believe that mockups and flow diagrams should be for finding client&#039;s
needs, and security should happen concurrently with coding. I hold
that security and privacy should be integrated into the application.
All traffic should be encrypted, all databases reside in silos, any
PII encrypted, and all  actions authenticated and non-reputable. The
design around doing this can be as complex or as simple as the
organizations structure allows, but is just as important as the code.

Luckily, most frameworks allow for easy
plug-in-play-esque integration to the rest of our organization&#039;s
infrastructure. C# has great integration with AD and should be fairly
easy to synergize with opensource directory services for
authentication which can have rules and groups as complex or as
simple as the business (or security department) allows. Anything from
username/password to smartcard should be able to plug in to your
application with little extra work (if done incrementally).

To give another example, I believe that
Twitter should have all of its traffic encrypted with SSL. Not just
because some users have private tweets and private messages they
send, but because there are certain privacy implications to having
your computer send your tweet in plain text to the server, even if
once it arrives there it is made public. Also, unintended
consequences of making all traffic to and from  Twitter private would
include rendering the problems that came with the release of
FireSheep moot. The ability to steal an auth token and hijack
sessions of others was certainly not thought of when twitter was
first created, but, building in encryption from the get-go would have
greatly helped mitigate that very risk.

To further your example, you should
have in mind what happens when you sell your time punch machine to
other companies or move it from the un-networked computer in the
front of your building to a active-active cluster running in multiple
data-centers around the world with a web front end stored at a
content cacher on the edge of the cloud when you first create that
punch-in page. Maybe the security in the mockup is as simple as just
putting in your unique ID, but it should be done in a way that is
easily and quickly extensible in the future to include any
authentication mechanism, and made to be non-reputable before
release. </description>
		<content:encoded><![CDATA[<p>I definitely am trying to add to the<br />
discussion and strongly believe in building in security to any<br />
application from the ground up. Granted, in my specific circumstance,<br />
security is immensely important, but, nonetheless, I hold that it<br />
ought be architect&#8217;d into the base of any application.</p>
<p>So, yes, I do still work at the<br />
compound, (check out the DNS whois db:) my job is awesome and I&#8217;m<br />
doing great. I&#8217;ve tried to incorporate what you taught me when I was<br />
one of your padawans back two years ago into my design and coding as<br />
best I can, and so far it has worked out pretty well.</p>
<p>Context is important, and even though I<br />
did stretch the bounds of your blog (somewhat to the extreme) I<br />
believe that mockups and flow diagrams should be for finding client&#8217;s<br />
needs, and security should happen concurrently with coding. I hold<br />
that security and privacy should be integrated into the application.<br />
All traffic should be encrypted, all databases reside in silos, any<br />
PII encrypted, and all  actions authenticated and non-reputable. The<br />
design around doing this can be as complex or as simple as the<br />
organizations structure allows, but is just as important as the code.</p>
<p>Luckily, most frameworks allow for easy<br />
plug-in-play-esque integration to the rest of our organization&#8217;s<br />
infrastructure. C# has great integration with AD and should be fairly<br />
easy to synergize with opensource directory services for<br />
authentication which can have rules and groups as complex or as<br />
simple as the business (or security department) allows. Anything from<br />
username/password to smartcard should be able to plug in to your<br />
application with little extra work (if done incrementally).</p>
<p>To give another example, I believe that<br />
Twitter should have all of its traffic encrypted with SSL. Not just<br />
because some users have private tweets and private messages they<br />
send, but because there are certain privacy implications to having<br />
your computer send your tweet in plain text to the server, even if<br />
once it arrives there it is made public. Also, unintended<br />
consequences of making all traffic to and from  Twitter private would<br />
include rendering the problems that came with the release of<br />
FireSheep moot. The ability to steal an auth token and hijack<br />
sessions of others was certainly not thought of when twitter was<br />
first created, but, building in encryption from the get-go would have<br />
greatly helped mitigate that very risk.</p>
<p>To further your example, you should<br />
have in mind what happens when you sell your time punch machine to<br />
other companies or move it from the un-networked computer in the<br />
front of your building to a active-active cluster running in multiple<br />
data-centers around the world with a web front end stored at a<br />
content cacher on the edge of the cloud when you first create that<br />
punch-in page. Maybe the security in the mockup is as simple as just<br />
putting in your unique ID, but it should be done in a way that is<br />
easily and quickly extensible in the future to include any<br />
authentication mechanism, and made to be non-reputable before<br />
release. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1537</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Thu, 19 May 2011 14:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1537</guid>
		<description>it&#039;s easy to look at high profile incidents, throw in a handful of conjecture and speculation, and generalize that into your thinking without considering the context of the situations. and to that point, i should have been more explicit about the context in which I was speaking - business application development. there will always be counter-examples to any principles or practice. there will always be exceptions that go against the rules. it&#039;s easy to argue against something that you don&#039;t agree with or don&#039;t like, by substituting the context you want into the discussion (whether or not that substitution happens consciously).

are you still working at the large financial institute down in SA? (btw: i drove by the compound last week and wondered if you were still there / how you were doing). i&#039;d put $ on your circumstances at that company being so completely different - especially with all the regulation around the financial industry, and need for security - to nullify what i&#039;ve said, in the context of what you&#039;re building at that company.


if you wait until you have millions of users to build security, you&#039;re 
doing it wrong... and interjecting ideas into my post that i would never
 agree with. the first working version of an app does not mean it will 
be in production for everyone to use. that&#039;s ridiculous. it&#039;s all about 
iterative and incremental development. you build something, and you 
verify the thing you built. you add on it it, and you verify those 
additions. repeat. once someone is ready for the world, you release it 
to the world (the intended end users). if you fail to secure something 
that needs to be secured before releasing it to the world, you&#039;ve 
failed, period.


do you really believe that what i wrote is wrong, given the context in which i was speaking (and forgot to state, obviously)? are you reacting with thought and care, trying to add to the discussion, or tossing it out the window because i&#039;ve challenged an assumption that you have learned in your specific circumstances?</description>
		<content:encoded><![CDATA[<p>it&#8217;s easy to look at high profile incidents, throw in a handful of conjecture and speculation, and generalize that into your thinking without considering the context of the situations. and to that point, i should have been more explicit about the context in which I was speaking &#8211; business application development. there will always be counter-examples to any principles or practice. there will always be exceptions that go against the rules. it&#8217;s easy to argue against something that you don&#8217;t agree with or don&#8217;t like, by substituting the context you want into the discussion (whether or not that substitution happens consciously).</p>
<p>are you still working at the large financial institute down in SA? (btw: i drove by the compound last week and wondered if you were still there / how you were doing). i&#8217;d put $ on your circumstances at that company being so completely different &#8211; especially with all the regulation around the financial industry, and need for security &#8211; to nullify what i&#8217;ve said, in the context of what you&#8217;re building at that company.</p>
<p>if you wait until you have millions of users to build security, you&#8217;re<br />
doing it wrong&#8230; and interjecting ideas into my post that i would never<br />
 agree with. the first working version of an app does not mean it will<br />
be in production for everyone to use. that&#8217;s ridiculous. it&#8217;s all about<br />
iterative and incremental development. you build something, and you<br />
verify the thing you built. you add on it it, and you verify those<br />
additions. repeat. once someone is ready for the world, you release it<br />
to the world (the intended end users). if you fail to secure something<br />
that needs to be secured before releasing it to the world, you&#8217;ve<br />
failed, period.</p>
<p>do you really believe that what i wrote is wrong, given the context in which i was speaking (and forgot to state, obviously)? are you reacting with thought and care, trying to add to the discussion, or tossing it out the window because i&#8217;ve challenged an assumption that you have learned in your specific circumstances?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Mehner</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1533</link>
		<dc:creator>Carl Mehner</dc:creator>
		<pubDate>Thu, 19 May 2011 04:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1533</guid>
		<description> So the folks writing HTTP followed your advice when creating the standard behind our web traffic (though it was done before your advice was there to consume [good job on that by the way]). There was nothing to secure, all was public, there was no online banking and such to require encrypted communications. Because of their shortsightedness and them not baking security into the application first, as the standard was built, we have a cobbled together, broken system for authentication on the web. It is sad, but in this day and age, we cannot trust users, we cannot just hang up a sign that says, &quot;honer system&quot; and hope someone doesn&#039;t take advantage of it. Going back in after the fact to add security to an app is costly and intractable. Apple&#039;s iOS is also a good example of this, they didn&#039;t care about security when they built the phone, they just wanted something pretty, this led to data disclosures and other such &#039;badness&#039; that could have been prevented by working the model set up by RIM in the BlackBerry to build security in at the ground level. Sony&#039;s little gaming network with the 77 M users that had their data breached probably would have appreciated the dev team working on a good security model rather that pumping out the infrastructure to play first, then (most likely after being pushed by project managers and senior management to get the product out to the paying public) waited for a breach to occur, spent a month working 24/7 to get it decent again, just to find out that the stolen data could be used to reset the passwords of everyone in the system again! Even if they had waited for something to secure (public users), it would have most likely still been too late (due to the &quot;what do you mean security? it works doesn&#039;t it? just do what you need to have people log in and get it out the door&quot; aspect). As a part of some buzzword worthy development model, I&#039;m sure it is great not to think about how the system could be compromised in the future (PSN/Apple) or the system&#039;s intent changed (public web-&gt;mobile banking), it gets the product out quicker and feedback faster, but does it at the expense of brand reputation later on, an expensive system hobbled together over many years, or just lots of money spent in various ways. </description>
		<content:encoded><![CDATA[<p> So the folks writing HTTP followed your advice when creating the standard behind our web traffic (though it was done before your advice was there to consume [good job on that by the way]). There was nothing to secure, all was public, there was no online banking and such to require encrypted communications. Because of their shortsightedness and them not baking security into the application first, as the standard was built, we have a cobbled together, broken system for authentication on the web. It is sad, but in this day and age, we cannot trust users, we cannot just hang up a sign that says, &#8220;honer system&#8221; and hope someone doesn&#8217;t take advantage of it. Going back in after the fact to add security to an app is costly and intractable. Apple&#8217;s iOS is also a good example of this, they didn&#8217;t care about security when they built the phone, they just wanted something pretty, this led to data disclosures and other such &#8216;badness&#8217; that could have been prevented by working the model set up by RIM in the BlackBerry to build security in at the ground level. Sony&#8217;s little gaming network with the 77 M users that had their data breached probably would have appreciated the dev team working on a good security model rather that pumping out the infrastructure to play first, then (most likely after being pushed by project managers and senior management to get the product out to the paying public) waited for a breach to occur, spent a month working 24/7 to get it decent again, just to find out that the stolen data could be used to reset the passwords of everyone in the system again! Even if they had waited for something to secure (public users), it would have most likely still been too late (due to the &#8220;what do you mean security? it works doesn&#8217;t it? just do what you need to have people log in and get it out the door&#8221; aspect). As a part of some buzzword worthy development model, I&#8217;m sure it is great not to think about how the system could be compromised in the future (PSN/Apple) or the system&#8217;s intent changed (public web-&gt;mobile banking), it gets the product out quicker and feedback faster, but does it at the expense of brand reputation later on, an expensive system hobbled together over many years, or just lots of money spent in various ways. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1527</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Wed, 18 May 2011 13:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1527</guid>
		<description>*facepalm*

ok... it had been a while since I read that post, and I obviously missed what it was actually saying... i&#039;ll adjust the intro to this post. 

thanks josh </description>
		<content:encoded><![CDATA[<p>*facepalm*</p>
<p>ok&#8230; it had been a while since I read that post, and I obviously missed what it was actually saying&#8230; i&#8217;ll adjust the intro to this post. </p>
<p>thanks josh </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Flanagan</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1526</link>
		<dc:creator>Joshua Flanagan</dc:creator>
		<pubDate>Wed, 18 May 2011 12:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1526</guid>
		<description> For what its worth, &quot;time to login&quot; is about how long it takes to get a new member of the team setup and running your app, not how to start building an app. From the post you linked:
Perhaps it should say ‘Time-to-First-Screen-With-Functionality’ but ‘TTFSWF’ isn’t as sexy as ‘TTLS’
</description>
		<content:encoded><![CDATA[<p> For what its worth, &#8220;time to login&#8221; is about how long it takes to get a new member of the team setup and running your app, not how to start building an app. From the post you linked:<br />
Perhaps it should say ‘Time-to-First-Screen-With-Functionality’ but ‘TTFSWF’ isn’t as sexy as ‘TTLS’</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1525</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Tue, 17 May 2011 13:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1525</guid>
		<description> you&#039;re going to have a lot of opportunity to change the design and use of the data if you get the app&#039;s real functionality working first, and mock up the security related data that goes with it. chances are, you&#039;ll learn something about how the security should work, how the data you need to tie back to it needs to be set up, and end up with a better system in the long run.</description>
		<content:encoded><![CDATA[<p> you&#8217;re going to have a lot of opportunity to change the design and use of the data if you get the app&#8217;s real functionality working first, and mock up the security related data that goes with it. chances are, you&#8217;ll learn something about how the security should work, how the data you need to tie back to it needs to be set up, and end up with a better system in the long run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Heckart</title>
		<link>http://lostechies.com/derickbailey/2011/05/17/dont-build-a-security-system-until-there-is-something-to-secure/#comment-1524</link>
		<dc:creator>Rob Heckart</dc:creator>
		<pubDate>Tue, 17 May 2011 13:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=334#comment-1524</guid>
		<description>I&#039;m working on an ASP.NET application that I believe requires thinking about the security system up front. The login security credentials will be stored in a table and then other data collected in the application will tie back to the user&#039;s credentials. Will the system use SSO or forms auth to authenticate users? How will that data be stored so that in my other database tables, I can correctly refer back to that particular user? Especially if I&#039;m using the built-in Security Principal stuff in ASP.NET.

If you don&#039;t have those tables and that code in place, I guess you could still build the functionality, but you&#039;d have to mock dummy code and data up probably to see things work. Is it worth it to mock the items up, or build the security in from the beginning?</description>
		<content:encoded><![CDATA[<p>I&#8217;m working on an ASP.NET application that I believe requires thinking about the security system up front. The login security credentials will be stored in a table and then other data collected in the application will tie back to the user&#8217;s credentials. Will the system use SSO or forms auth to authenticate users? How will that data be stored so that in my other database tables, I can correctly refer back to that particular user? Especially if I&#8217;m using the built-in Security Principal stuff in ASP.NET.</p>
<p>If you don&#8217;t have those tables and that code in place, I guess you could still build the functionality, but you&#8217;d have to mock dummy code and data up probably to see things work. Is it worth it to mock the items up, or build the security in from the beginning?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
