Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Protecting Assemblies (http://www.programmingforums.org/showthread.php?t=13457)

tobyhughes Jul 2nd, 2007 4:09 AM

Protecting Assemblies
 
Is their any way to protect my .net assemblies (e.g. licensing module) from other peoples applications>

melbolt Jul 2nd, 2007 11:14 AM

I wasn't entirely sure what you were referring to but there are a couple things you can do to secure your assembly.

1. StrongName your assemblies(sign with a key)
2. Use CAS(code access security) on either the assembly level or method level

to strongname the assembly you can do this by right clicking the assembly, going to properties and its under the security tab. here you can import a key to use to sign the assembly.

as for the CAS stuff here's a tutorial
http://www.codeproject.com/dotnet/UB_CAS_NET.asp


All times are GMT -5. The time now is 10:09 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC