<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlite.phxsoftware.com/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>How To</title><link>http://sqlite.phxsoftware.com/forums/10.aspx</link><description>Sample code and instructions for working with SQLite.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/8740.aspx</link><pubDate>Tue, 05 Jan 2010 10:25:53 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:8740</guid><dc:creator>flater</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/8740.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=8740</wfw:commentRss><description>&lt;p&gt;Solved it by using:&lt;/p&gt;&lt;p&gt;&amp;nbsp;conn.ChangePassword(null as String);&lt;/p&gt;&lt;p&gt;&amp;nbsp;this will choose the right method. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/8736.aspx</link><pubDate>Mon, 04 Jan 2010 15:03:55 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:8736</guid><dc:creator>flater</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/8736.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=8736</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In the original example, you say you can decrypt a database by supplying the following command:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;font face="Lucida Console" size="2"&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;conn.ChangePassword(null);&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;But when I try this, it doesn&amp;#39;t work because it is an ambiguous call. Besides the (string) argument there is 1 overload with a byte[ argument on this method, which causes this. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please advise how to continue! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/8277.aspx</link><pubDate>Wed, 23 Sep 2009 13:10:26 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:8277</guid><dc:creator>Prachi</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/8277.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=8277</wfw:commentRss><description>CAn anyone give me a small sample code in .NET which connects to encrypted database ( Password set to database) and opens connection.
I tried above code but it gives me error :-
&amp;quot; File opened that is not a database file
file is encrypted or is not a database &amp;quot;

How the connection string should be passed and how to decrypt the database which is encrypted ?</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5292.aspx</link><pubDate>Fri, 11 Jul 2008 03:54:42 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5292</guid><dc:creator>ammsamm</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5292.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5292</wfw:commentRss><description>&lt;p&gt;Hi all....&lt;/p&gt;
&lt;p&gt;i did a small app for encrypting, decrypting and compressing a sqlite database &lt;/p&gt;
&lt;p&gt;hop u find it useful&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5284.aspx</link><pubDate>Thu, 10 Jul 2008 16:45:23 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5284</guid><dc:creator>Seth</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5284.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5284</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5276.aspx</link><pubDate>Thu, 10 Jul 2008 06:05:00 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5276</guid><dc:creator>Robert Simpson</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5276.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5276</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s reasonably good.&amp;nbsp; It&amp;#39;s an RC4 algorithm, which is weaker than some, but not as weak as others.&amp;nbsp; Remember that nothing stored on a user&amp;#39;s machine is ever truly secure.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5250.aspx</link><pubDate>Sun, 06 Jul 2008 08:04:22 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5250</guid><dc:creator>Seth</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5250.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5250</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So the enryption is a good protection for the data ? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5246.aspx</link><pubDate>Sun, 06 Jul 2008 01:48:44 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5246</guid><dc:creator>Robert Simpson</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5246.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5246</wfw:commentRss><description>&lt;p&gt;Unfortunately the entire file, including all metadata is encrypted ... without a password, the sqlite engine can&amp;#39;t even tell if its a sqlite database.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5243.aspx</link><pubDate>Sat, 05 Jul 2008 22:14:49 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5243</guid><dc:creator>ammsamm</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5243.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5243</wfw:commentRss><description>&lt;p&gt;well .. i manege to popup a msg box after closing the connection, although thats not what wont bute it will do the job.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;------------------------------------&lt;/p&gt;
&lt;p&gt;one more thing ............. is it possible to check if the db is password protected before throwing an exception ??&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5179.aspx</link><pubDate>Tue, 01 Jul 2008 02:29:16 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5179</guid><dc:creator>Robert Simpson</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5179.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5179</wfw:commentRss><description>&lt;p&gt;Sorry the SQLite data provider&amp;nbsp;is not a UI component and I cannot put a message box up on the screen.&amp;nbsp; If the provider fails to change the password or an error occurs, it&amp;#39;ll be thrown as an exception for you to catch.&lt;/p&gt;
&lt;p&gt;This provider is used in ASP.NET, windows services, and other components that do not interact with the desktop.&amp;nbsp; Popping up a message box when that function is called is not an option.&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5177.aspx</link><pubDate>Tue, 01 Jul 2008 00:31:33 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5177</guid><dc:creator>ammsamm</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5177.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5177</wfw:commentRss><description>&lt;p&gt;Sorry &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ya i wona popup a message box &amp;gt;&amp;gt;&amp;gt; the resone is that the (&lt;font size="3"&gt;ChangePassword ) dont&amp;nbsp;produce&amp;nbsp;a value &lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5176.aspx</link><pubDate>Tue, 01 Jul 2008 00:10:33 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5176</guid><dc:creator>ammsamm</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5176.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5176</wfw:commentRss><description>&lt;p&gt;ya i wona popup a message box &amp;gt;&amp;gt;&amp;gt; the resone is that the (&lt;font size="3"&gt;ChangePassword ) dont give&amp;nbsp;a value &lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5175.aspx</link><pubDate>Mon, 30 Jun 2008 23:59:54 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5175</guid><dc:creator>Robert Simpson</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5175.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5175</wfw:commentRss><description>&lt;p&gt;Give a message where?&amp;nbsp; If you want to pop open a message box on the screen, that&amp;#39;s up to you.&amp;nbsp; The provider itself has no user interface -- nor should it.&lt;/p&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5173.aspx</link><pubDate>Mon, 30 Jun 2008 23:52:29 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5173</guid><dc:creator>ammsamm</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5173.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5173</wfw:commentRss><description>&lt;font size="3"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;Dim&lt;/font&gt;&lt;font size="3"&gt; cnn &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;As&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;New&lt;/font&gt;&lt;font size="3"&gt; SQLiteConnection(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;&amp;quot;Data Source=&amp;quot;&lt;/font&gt;&lt;font size="3"&gt; &amp;amp; TextBox1.Text)&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt; 
&lt;p&gt;cnn.Open()&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;&amp;#39; Encrypts the database. The connection remains valid and usable afterwards.&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;cnn.ChangePassword(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;Me&lt;/font&gt;&lt;font size="3"&gt;.TextBox2.Text)&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt; 
&lt;p&gt;cnn.Close()&lt;/p&gt;
&lt;p&gt;-------------------------------&lt;/p&gt;
&lt;p&gt;is it possible to give a msg to confirm that the password have change ??&lt;/p&gt;
&lt;p&gt;am using vb.net&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Encrypting, decrypting and attaching to encrypted databases</title><link>http://sqlite.phxsoftware.com/forums/thread/5072.aspx</link><pubDate>Sun, 15 Jun 2008 12:45:23 GMT</pubDate><guid isPermaLink="false">fa762dca-388a-4e6a-93ef-b5a7a7439be2:5072</guid><dc:creator>Seth</dc:creator><slash:comments>0</slash:comments><comments>http://sqlite.phxsoftware.com/forums/thread/5072.aspx</comments><wfw:commentRss>http://sqlite.phxsoftware.com/forums/commentrss.aspx?SectionID=10&amp;PostID=5072</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Encryption it is a good way to protect data ? or the enryption method is not enough ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thx&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>