T
Thiago Temple
I built a Data Access Layer Component, as Microsoft documentation recomends.
I have a Class Library (Application Layer) that uses this DAL component, the
point is, to make this component usefull, the com expects a connection
string to connect to the database. The string is stored in .resx file
(compiled in a dll) and is encrypted. The key to decrypt the string is in
the windows registry. And here's my problem, I don't want to look into the
registry every time I want to connect to the database. Is there a safe place
that I can keep the string or the key to decrypt? Like a cache or something
like that???
Thanx a lot
I have a Class Library (Application Layer) that uses this DAL component, the
point is, to make this component usefull, the com expects a connection
string to connect to the database. The string is stored in .resx file
(compiled in a dll) and is encrypted. The key to decrypt the string is in
the windows registry. And here's my problem, I don't want to look into the
registry every time I want to connect to the database. Is there a safe place
that I can keep the string or the key to decrypt? Like a cache or something
like that???
Thanx a lot