<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Encrypt data and store in SQL server</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Encrypt data and store in SQL server</description>
  <pubDate>Wed, 10 Jun 2026 15:46:22 -700</pubDate>
  <lastBuildDate>Fri, 27 Mar 2009 12:48:16 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1143</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Encrypt data and store in SQL server : SQL 2005 is a hard requirement....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4203#4203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=36" rel="nofollow">alejandro</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 27-Mar-2009 at 12:48pm<br /><br />SQL 2005 is a hard requirement. Must&nbsp;comply with cell level encryption and not DB level.<DIV>We tested with getters and setters using the .net crypto functions and varchar datatypes. It works fine. Some queries are not possible: like, between, etc...</DIV>]]>
   </description>
   <pubDate>Fri, 27 Mar 2009 12:48:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4203#4203</guid>
  </item> 
  <item>
   <title>Encrypt data and store in SQL server : Alejandro, which version of SQL...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4176#4176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 25-Mar-2009 at 9:44am<br /><br />Alejandro, which version of SQL Server are we talking about?&nbsp; <DIV>&nbsp;</DIV><DIV>SQL Server 2008 offers "transparent data encryption" and requires no changes to an application.&nbsp; Here's a really interesting article: <a href="http://msdn.microsoft.com/en-us/library/cc278098.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc278098.aspx</A></DIV><DIV>&nbsp;</DIV><DIV>As for using encryption in SQL Server 2005, I'm not sure that you can do the encrypt/decrypt yourself in the property, at least I haven't seen any examples of this.&nbsp; I believe the cryptographic functions - EncryptByKey, DecryptByKey, etc - are needed in the SQL statements upon data access, and the key must be opened first.&nbsp; You also have the issue of where clauses and how they&nbsp;will work.&nbsp; It might be worthwhile asking Microsoft directly whether this is possible, since we have no experience with SQL encryption here.&nbsp; Their SQL forum may be a good resource:&nbsp; <a href="http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/threads/" target="_blank">http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/threads/</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 25 Mar 2009 09:44:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4176#4176</guid>
  </item> 
  <item>
   <title>Encrypt data and store in SQL server : What about creating a property...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4173#4173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=36" rel="nofollow">alejandro</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 25-Mar-2009 at 5:56am<br /><br />What about creating a property per required encrypted field and encrypting in the setter and decrypting in the getter? I would need to build my searchers, but would be able to use cache queries. Right?]]>
   </description>
   <pubDate>Wed, 25 Mar 2009 05:56:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4173#4173</guid>
  </item> 
  <item>
   <title>Encrypt data and store in SQL server : Stored procs are probablyyour...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4125#4125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 19-Mar-2009 at 3:35pm<br /><br />Stored procs are probably&nbsp;your only workaround.&nbsp; You'd need stored procs, and a custom IAdapterProvider, for all inserts/updates/deletes to encrypted data; and either, or both, stored procs and views to retrieve encrypted entities.&nbsp; You'll also have the issue that the StoredProcRdbQuery, and PassthruRdbQuery if you use that, are DataSourceOnly queries, so you'd need to provide separate logic for DataSource vs. cache queries.<DIV>&nbsp;</DIV><DIV>We haven't yet looked at encryption in SQL Server 2008, so that might offer some easier ways of handling this issue.</DIV>]]>
   </description>
   <pubDate>Thu, 19 Mar 2009 15:35:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4125#4125</guid>
  </item> 
  <item>
   <title>Encrypt data and store in SQL server : Would basing my entire model on...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4111#4111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=36" rel="nofollow">alejandro</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 19-Mar-2009 at 8:15am<br /><br />Would basing my entire model on stored procs (where I get/decrypting and insert/encrypting) be my only workaround?]]>
   </description>
   <pubDate>Thu, 19 Mar 2009 08:15:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4111#4111</guid>
  </item> 
  <item>
   <title>Encrypt data and store in SQL server : As a requirement from a client...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4091#4091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=36" rel="nofollow">alejandro</a><br /><strong>Subject:</strong> 1143<br /><strong>Posted:</strong> 16-Mar-2009 at 4:25pm<br /><br />As a requirement from a client we have that all data should be stored encrypted in the database. Is there a best way to do this? <br>Since DevForce's PersistanceManager is generating the sql statements I am wondering what would be the most efficient way to do this.<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 16 Mar 2009 16:25:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1143&amp;PID=4091#4091</guid>
  </item> 
 </channel>
</rss>