As Dario said: Put your connection string in connectionStrings section of app.config Encrypt the section (http://msdn.microsoft.com/en-us/library/53tyfkaw.aspx).
Tell NHibernate to use your connection string: <property name="connection.connection_string_name">YOUR_CONNECTION_STRING_NAME</property> Best regards. On Thu, Aug 13, 2009 at 5:20 AM, Maik<[email protected]> wrote: > > I wonder why everybody is now talking about ASP.NET. I'm sorry to say, > that I don't develop ASP.NET applications. In my case I develop > WinForms applications. > > > > On 10 Aug., 18:40, Tuna Toksoz <[email protected]> wrote: >> http://weblogs.asp.net/scottgu/archive/2006/01/09/434893.aspx >> >> Tuna Toksöz >> Eternal sunshine of the open source mind. >> >> http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike >> >> On Mon, Aug 10, 2009 at 5:31 PM, Maik <[email protected]> wrote: >> >> > Hey folks, >> >> > due to security reasons we are forced to only store usernames and >> > passwords in an encrypted format (prefered encryption algorythm is >> > AES). Now I want to know, if NHibernate supports something like that. >> >> > Or do I have to implement it myself? >> >> > Thanks for your help. >> >> > Nice Greets from Germany, >> > Maik >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
