<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Credit card details</title><link>http://forums.asp.net/thread/3275083.aspx</link><pubDate>Sun, 05 Jul 2009 03:54:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275083</guid><dc:creator>RickNZ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275083.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3275083</wfw:commentRss><description>&lt;p&gt;Key management is usually the sticking point for this type of security.&lt;/p&gt;&lt;p&gt;You might consider using SQL symmetric keys and certificates.&amp;nbsp; That way, SQL will do much of the key management for you.&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="sql"&gt;CREATE CERTIFICATE [CCCert]
    AUTHORIZATION [ccuser]
    WITH SUBJECT = N&amp;#39;CC Certificate&amp;#39;,
    START_DATE = N&amp;#39;1/1/2008 12:00:00 AM&amp;#39;, EXPIRY_DATE = N&amp;#39;12/31/2010 12:00:00 AM&amp;#39;
    ACTIVE FOR BEGIN_DIALOG = ON;

CREATE SYMMETRIC KEY [CCKey]
    AUTHORIZATION [dbo]
    WITH ALGORITHM = AES_128
    ENCRYPTION BY CERTIFICATE [CCCert];

begin transaction
	open symmetric key CCKey decryption by certificate CCCert
	insert into [CCSchema].[CCData]
		(UserId, CCNumber)
		values
		(@id, encryptByKey(Key_GUID(&amp;#39;CCKey&amp;#39;), @ccnumber))
        close all symmetric keys
commit transaction

&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; If your DB isn&amp;#39;t on the same machine as your web app, you should be sure to use IPSec to protect the link.&lt;/p&gt;&lt;p&gt;In the example above, only the DB user &amp;quot;ccuser&amp;quot; will be able to encrypt or decrypt the data.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Credit card details</title><link>http://forums.asp.net/thread/3275066.aspx</link><pubDate>Sun, 05 Jul 2009 02:54:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275066</guid><dc:creator>TATWORTH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275066.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3275066</wfw:commentRss><description>&lt;p&gt;Is your server:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;a dedicated server?&lt;/li&gt;&lt;li&gt;bolted to the floor?&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;You will need to store the credit card number in an encrypted format and log all access to it.&lt;/p&gt;&lt;p&gt;These are just a few of the PCI rules: for full details see &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a target="_blank" href="http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard"&gt;http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Credit card details</title><link>http://forums.asp.net/thread/3274501.aspx</link><pubDate>Sat, 04 Jul 2009 09:14:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274501</guid><dc:creator>Nicsam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274501.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3274501</wfw:commentRss><description>&lt;p&gt;Hi friends&lt;/p&gt;&lt;p&gt;I have an application where i need to accept the Credit card details from the user and it is processed only after a time period. So i doubts how securely i should store this sensitive information in the database.&lt;/p&gt;&lt;p&gt;Can anyone put forward any ideas for the same would be much appreciated,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Sujith PV&lt;/p&gt;</description></item></channel></rss>