Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 2nd, 2007, 4:09 AM   #1
tobyhughes
Newbie
 
Join Date: Jan 2007
Posts: 8
Rep Power: 0 tobyhughes is on a distinguished road
Protecting Assemblies

Is their any way to protect my .net assemblies (e.g. licensing module) from other peoples applications>
tobyhughes is offline   Reply With Quote
Old Jul 2nd, 2007, 11:14 AM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
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
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing External Assemblies Kami C# 5 Feb 12th, 2006 5:30 PM
Copy protecting a pic/image peace_of_mind Other Web Development Languages 5 May 24th, 2005 9:21 AM
Is it possible to link Java applets to .net assemblies? uman Java 0 Apr 7th, 2005 10:54 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:41 AM.

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