.NET Framework Bookmark and Share   
 index > Common Language Runtime > Securing a X509Certificate
 

Securing a X509Certificate

Hi,
I need to make sure that only a certain assembly has access to a specific certificate.
Is CAS the way to go or there is a simpler option?
In case it is CAS how do I do to deny access to this certificate to any other assembly?
Also I didnt find the granularity of a certificate, the most granular is X509 Store and it doesnt refer to one specific store it refers to all the stores.
Any help with this is more than welcomed.

Regards,
Federico Benitez
My blog
Federico Benitez
Hi,
I just mean that there is no 100% safe encryption methods, so, contrasting with the best encrytion algorithm, we'd betterchoose the one that enough for us.
By set up NTFS security, you may set access permissions of a file to limit who can read/write it.

Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang
Anyone?
Federico Benitez
My blog
Federico Benitez

Hi,
CAS cannot help for your case, you may want to embed the file into your assembly, or decrypt before read and encrypt after save, re-read the business goal may help you to find better way.
However, we cannot 100% prevent other from accessing physical files, the file can be read or modified by other hack tools.

Thanks,
Eric


Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang
Hi eryang,
Thanks for your response.

So you are saying that basically there is no secure way of protecting a Private key in the file system?

Thanks,
Federico
Federico Benitez
My blog
Federico Benitez
Hi,
I just mean that there is no 100% safe encryption methods, so, contrasting with the best encrytion algorithm, we'd betterchoose the one that enough for us.
By set up NTFS security, you may set access permissions of a file to limit who can read/write it.

Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang

Hi Eric,

Thanks for you help.

Regards,


Federico Benitez
My blog
Federico Benitez

You can use google to search for other answers

Custom Search

More Threads

• VB.NET Object Extension Method Problems
• Protecting proprietary code, or "trade secrets".
• Assembly Loading in .Net 3.5
• Finalizer guarantees for access to other objects
• Thread pool and Processor Utilization?
• Jitter throwing "File not found"
• LocalSystem account and Process.Start()
• Cancel a File.Copy
• TlbImp : warning TI0000
• Are there such limitations of using SSLStream for mutual authentication?