Visual Studio 2005, dotnet, c#. Microsoft SQL Server. Windows XP forms
application.
Temporarily, for my database application, I have been storing the various
elements of database connection items like datasource,password,userid as
plain strings in the registry.
I'd now like to make these secure against people reading them.
I thought of encrypting/decrypting each string when i write to the registry
but I wouldnt know where to find a useable algorithm.
What's the easiest, secure way to store these values please?
Also, I download images from the database and cache them on each local
machine in a data directory so there's no bandwidth hogging.
At the moment they sit there as .jpg,*.bmp files and can be viewed just by
opening them.
What would be a sensible way of encrypting these?
thanks :)