.net already has the infrastructure to encrypt a whole config section,
see 
http://weblogs.asp.net/jgalloway/archive/2008/04/13/encrypting-passwords-in-a-net-app-config-file.aspx

On Apr 9, 2:45 am, raghavsri <[email protected]> wrote:
> Hi ,
>
> Currently I am storing the connection string in the app.config file of
> the component ,
> after deploying it user can modify the connection string..but i want
> this sensitive information not be modified by the end user.. how can
> encrypt and deploy this?.. is there any support from castle libraries
> to achieve this.?
>
> To initialize the activerecord .. i am calling the following code
>   ActiveRecordStarter.Initialize(typeof(Sample).Assembly,
>                             ActiveRecordSectionHandler.Instance);
> which will take care of connection string..
>
> Regards
> Raghavendra

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to