Read a file into a byte array
Need to read a file into a byte array in memory, here’s a simple code sample.
More »
Need to read a file into a byte array in memory, here’s a simple code sample.
More »
If you ever deployed an application in a corporate environment, where an IT Security officer likes to keep a tight leash on who knows each system password, you probably needed to figure out some sort of security mechanism to store the passwords your application needs to connect to some database, access a web service, etc.
The most obvious and straightforward approach is to use a symmetric algorithm, like 3DES or AES, with an encryption password hard coded in your application to decrypt/encrypt the sensitive credentials. This has several cons:
And these are just the 3 most important issues that come to mind in 5 minutes…