Hi,
I have some questions regarding security in .NET.
For customers, I have made an application in C#; an exe and some dlls.
- to prevent user from using my dlls directly, a good solution seems to use
strong name. It works fine in samples but I have problems to integrate
strong name when dll have external references like Interop.SHDocVw...and in
this case AllowPartiallyTrustedCallersAttribute doesn't work...
Is there a solution ?
- Moreover some dlls are unmanaged C++. Does it exist strong name technique
for them ?
- I want to obfuscate my assemblies. I try Dotfuscator in VS .NET 2003.
Works fine except when
strong names are used !
And it is not a very good solution to hide code. Is there some other
techniques to protect dlls,
like native code generation or other stuffs ?
- I want to manage demo and customers version with license key policy. I
download some demo of
exe-protector (like PELock). But it seems not working with C# code or dll,
even when I disable most of options... Which tool can I use ? Are there some
other solution ?
Thanks in advance
Olivier
|