Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to store sensitive data in a C# assembly?

Tags:

c#

.net

reflector

Given that a C# assembly can be easily reverse engineered using reflector, where should I store my sensitive data when compiling an assembly in C#?

I have a X509certificate embedded in my C# assembly in which I need to store the password when accessing the certificate! Now where should I store the certificate password?

like image 719
Sepehr Avatar asked Jan 23 '13 22:01

Sepehr


People also ask

Where should sensitive data be stored?

For example, frequently used sensitive data is best stored on a high-speed medium, such as an HDD or SSD. If the storage media are in a data center, they are much easier to monitor for security and unauthorized access than if the storage media are in a cloud environment.

How do you store sensitive research data?

Tips for managing sensitive dataAny sensitive data stored on a portable or personable device should be password or passcode protected and securely encrypted. This includes data held on USBs, external hard drives, laptops, desktop computers, smart phones, tablets and external servers.


1 Answers

If you don't mind shelling out some cash, you could take a look at Eazfuscator

The vendor claims to offer Code virtualization, string encryption among other features.

If his claims are valid, this might be what you need.

They have a trial, so i guess it can't hurt to try it out.

like image 146
scartag Avatar answered Sep 21 '22 15:09

scartag