<?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>Startup Security &#187; PCI</title>
	<atom:link href="http://startupsecurity.info/blog/tag/pci/feed/" rel="self" type="application/rss+xml" />
	<link>http://startupsecurity.info</link>
	<description>Security, for Startups</description>
	<lastBuildDate>Wed, 16 Dec 2009 18:42:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Payment Application Security</title>
		<link>http://startupsecurity.info/blog/2008/12/20/payment-application-security/</link>
		<comments>http://startupsecurity.info/blog/2008/12/20/payment-application-security/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 21:21:41 +0000</pubDate>
		<dc:creator>Damon Cortesi</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Regulation]]></category>
		<category><![CDATA[PCI]]></category>

		<guid isPermaLink="false">http://startupsecurity.info/?p=127</guid>
		<description><![CDATA[I want to briefly touch again on PCI and payment applications, as I keep getting scared out of my security hat. There&#8217;s a fantastic tech startup group in Seattle and somebody recently asked about processing credit cards on the mailing list. One of the commenters pointed to the Rails ActiveMerchant plugin, which can be used [...]]]></description>
			<content:encoded><![CDATA[<p>I want to briefly touch again on PCI and payment applications, as I keep getting scared out of my security hat. There&#8217;s a fantastic <a href="http://www.seattletechstartups.com">tech startup group</a> in Seattle and somebody recently asked about processing credit cards on the mailing list. One of the commenters pointed to the Rails <a href="http://www.activemerchant.org/">ActiveMerchant</a> plugin, which can be used to access payment gateways such as Authorize.NET, Paypal, and over <a href="http://activemerchant.rubyforge.org/">30 others</a>. The following piece of code, found on the ActiveMerchant page, is what rang some bells in my head when I saw it.</p>
<blockquote><pre># Create a new credit card object
credit_card = ActiveMerchant::Billing::CreditCard.new(
  :number     => '4111111111111111',
  :month      => '8',
  :year       => '2009',
  :first_name => 'Tobias',
  :last_name  => 'Luetke',
  :verification_value  => '123'
)

if credit_card.valid?

  # Create a gateway object to the TrustCommerce service
  gateway = ActiveMerchant::Billing::TrustCommerceGateway.new(
    :login    => 'TestMerchant',
    :password => 'password'
  )

  # Authorize for $10 dollars (1000 cents)
  response = gateway.authorize(1000, credit_card)
</pre>
</blockquote>
<p>While ActiveMerchant itself is not a risk, I simply want to reiterate how you use the library is very important when it comes to handling credit cards. This code, if used in the manner above, <strong>puts your web server in scope for PCI compliance even if you are never writing the credit card number to disk</strong>. While you should be doing nearly everything in the PCI standard anyway in order to properly protect your assets, PCI can be a tricky field to navigate. I&#8217;ve <a href="/blog/2008/11/03/pci-101/">said it before</a> and I&#8217;ll say it again: if you want to avoid the complexity of introducing PCI compliance into your environment, do not <strong>store, process, or transmit a credit card number</strong> and use an offsite payment gateway instead. </p>
<p>If you have further questions about this, feel free to leave a comment, contact me (damon at startupsecurity.info), or visit <a href="http://pcianswers.com">PCI Answers</a> for anything and everything related to PCI including contact information for one of the most knowledgeable PCI resources around, Mike Dahn. </p>
]]></content:encoded>
			<wfw:commentRss>http://startupsecurity.info/blog/2008/12/20/payment-application-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCI 101</title>
		<link>http://startupsecurity.info/blog/2008/11/03/pci-101/</link>
		<comments>http://startupsecurity.info/blog/2008/11/03/pci-101/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 01:11:57 +0000</pubDate>
		<dc:creator>Damon Cortesi</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[General Site Security]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Risk Management]]></category>

		<guid isPermaLink="false">http://startupsecurity.info/?p=76</guid>
		<description><![CDATA[Since Mike recently linked here from his PCI Blog (Cloud computing security and PCI), let&#8217;s take a brief look at what PCI means for a startup.
PCI Compliance
PCI Compliance has probably been one of the strongest driving factors of security compliance in the US in recent years, particularly for retailers. So what is it? PCI stands [...]]]></description>
			<content:encoded><![CDATA[<p>Since Mike recently linked here from his PCI Blog (<a href="http://pcianswers.com/2008/11/03/cloud-computing-security-and-pci/">Cloud computing security and PCI</a>), let&#8217;s take a brief look at what <a href="https://www.pcisecuritystandards.org/">PCI</a> means for a startup.</p>
<p><strong>PCI Compliance</strong></p>
<p>PCI Compliance has probably been one of the strongest driving factors of security compliance in the US in recent years, particularly for retailers. So what is it? PCI stands for Payment Card Industry and the <a href="https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml">PCI Data Security Standard</a> is an accepted standard among the payment brands (Visa, MasterCard, Amex, Discover, etc) that defines a set of 12 requirements that merchants who handle cardholder data must be compliant with. *<em>you can breathe now</em>* With that broad statement, there are a few things to point out.</p>
<p><strong>Cardholder Data</strong></p>
<p>Straight from the <a href="https://www.pcisecuritystandards.org/pdfs/pci_dss_saq_navigating_dss.pdf">PCI website</a>&#8230;<br />
<blockquote><em>Cardholder data is defined as the primary account number (“PAN,” or credit card number) and other data obtained as part of a payment transaction, including the following data elements:</em>
<ul>
<li>PAN</li>
<li>Cardholder Name</li>
<li>Expiration Date</li>
<li>Service Code</li>
<li>Sensitive Authentication Data: (1) full magnetic stripe data, (2) CAV2/CVC2/CVV2/CID, and (3) PINs/PIN blocks)</li>
</ul>
</blockquote>
<p><strong>This effectively means that if you store, process, or transmit a credit card number, alone or in combination with the data listed above, you are subject to PCI DSS.</strong> I should note, however, that there are different requirements based on your size and processing volume and you should contact your acquirer, payment brand, or local Qualified Security Assessor (QSA) to determine your PCI DSS validation requirements.</p>
<p><strong>The Requirements</strong></p>
<p>So, 12 requirements, huh? Yup. Each with several sub-requirements, too. While you can read the details on the <a href="https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml">PCI DSS site</a> (click &#8220;Download the Specification&#8221;), I think it&#8217;s more important for startups to realize that there are very specific requirements surrounding the handling of cardholder data and to consider those requirements when extending into such areas as e-commerce. Ultimately the goal is to manage the risk of storing cardholder data by means of network segregation, data encryption, audit logging, policy and security testing (among others). Options are also available for outsourcing credit card transactions, which can relieve the strain of PCI compliance for a startup.</p>
<p><strong>One More Thing</strong></p>
<p>Are you a software developer building a payment application but not actually storing cardholder data yourself? You still need to be aware of PCI and the <a href="https://www.pcisecuritystandards.org/security_standards/pci_pa_dss.shtml">Payment Application Data Security Standard</a>. This ties in to my previous post about third-party components and is PCI&#8217;s attempt to ensure safe handling of credit card data for payment applications created by software vendors.</p>
]]></content:encoded>
			<wfw:commentRss>http://startupsecurity.info/blog/2008/11/03/pci-101/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
