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 Dentler <jasondent...@gmail.com> wrote:
> Hi Visar,
>
> You might try putting it in the app.config, then encrypt it and reference it
> from your NHibernate configuration using the connection string name
> property.
>
> Thanks,
> Jason
>
>
>
>
>
> On Tue, Apr 20, 2010 at 6:37 AM, Visar Uruqi <visar.ur...@gmail.com> wrote:
> > Hello
>
> > I want to deploy an application to several clients, but I can't
> > because,
> > the connection string in nhibernate.cfg.xml is editable, and there is
> > also the password and username of the DB.
>
> > Is there a way to encrypt it? and decrypt it back in the application?
>
> > I thought writing an XML file with all the configuration stuff,
> > encrypt it,
> > and reading the file inside the application decrypting it building
> > the
> > configuration in runtime, but thought maybe you have a better idea.
> > (The thing is I want to be able to edit the connection string some day
> > in case of troubleshooting, but also hide it from the client)
>
> > Thank you for helping
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nhusers" group.
> > To post to this group, send email to nhus...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > nhusers+unsubscr...@googlegroups.com<nhusers%2bunsubscr...@googlegroups.com­>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "nhusers" group.
> To post to this group, send email to nhus...@googlegroups.com.
> To unsubscribe from this group, send email to 
> nhusers+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/nhusers?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhus...@googlegroups.com.
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to