Re: [nhusers] Re: How to encrypt the "connection string" in nhibernate.cfg.xml

2010-04-21 Thread Jason Dentler
Hi Visar, I'm sorry. I can't be of much help with your specific SQLite questions. I stick to web applications. I only use SQLite for testing, and only the in-memory database. I don't know what the limit really is, as my tests generally don't use more than a dozen records. I have seen some mention

[nhusers] Re: How to encrypt the "connection string" in nhibernate.cfg.xml

2010-04-21 Thread Visar Uruqi
Just for the record, I found this article http://japikse.blogspot.com/2008/06/custom-connection-provider-with.html explaining the Custom Connection provider for nhibernate, if you want to handle the encryption yourself. Visar Uruqi On Apr 21, 4:07 pm, Visar Uruqi < visar.ur...@gmail.com> wrote:

[nhusers] Re: How to encrypt the "connection string" in nhibernate.cfg.xml

2010-04-21 Thread Visar Uruqi
Yes I found this article too, thanks anyway for posting. I immediately tried the code explained below the article http://msdn.microsoft.com/en-us/library/89211k9b(VS.80).aspx the code in this method: ToggleConfigEncryption(string exeConfigName) does all the magic of encryption, the decryption pro

Re: [nhusers] Re: How to encrypt the "connection string" in nhibernate.cfg.xml

2010-04-20 Thread Jason Dentler
Being a web guy, I immediately thought of aspnet_regiis encryption, which doesn't really apply to desktop apps, but is completely transparent to the application. Combined with Jose's suggestion, this might do the trick for you. http://msdn.microsoft.com/en-us/library/89211k9b(VS.80).aspx On Tue

[nhusers] Re: How to encrypt the "connection string" in nhibernate.cfg.xml

2010-04-20 Thread Visar Uruqi
Can you describe more in detail the process please, specially, the process of encryption and decryption? Some parameters are not in my control for example nhibernate grabs the connection string without I knowing when? So how does the decryption take place? visar On Apr 20, 2:04 pm, Jason Dentl