Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Securing DLL's

Securing DLL's

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4003684
    wrote on last edited by
    #1

    Hi, I have some class libraries, which I dont want the client to use. How can we secure our dll in such a way that if someone else adds our dll to his project then it gives some error or may e do not allow to add it. Or is tehre any other way by whihc we need not send the DLL in the setup.

    G 1 Reply Last reply
    0
    • U User 4003684

      Hi, I have some class libraries, which I dont want the client to use. How can we secure our dll in such a way that if someone else adds our dll to his project then it gives some error or may e do not allow to add it. Or is tehre any other way by whihc we need not send the DLL in the setup.

      G Offline
      G Offline
      Greg Olmstead
      wrote on last edited by
      #2

      the problem is if you make it so that your client can't use it, then neither can you. You can implement some security by requiring a certain key be passed in to your method calls, and you can protect against reflection and disassembly by Obfuscating your dll. You can use Dotfuscator Community Edition included with VS2005/8 to do that for you. Hope this helps! Greg

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups