DLL protection

Discussion in 'C#' started by Djamshud, Nov 2, 2009.

  1. Djamshud

    Djamshud New Member

    Joined:
    Nov 2, 2009
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    0
    Hello!
    For security I should not to use any temporary files except single .exe. DLLs should be embedded in exe file. Would you, please, advice me how can I load DLLs, used in my app, without extracting them run-time?
    Thanks!
     
  2. Carlos

    Carlos New Member

    Joined:
    Dec 5, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    none
    dll can't be embedded in exe file. We can use dll through our exe file. U can create dll by creating a class library and then add a reference to that dll to your app.
     
  3. Naruto

    Naruto New Member

    Joined:
    Nov 9, 2009
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    0
    You need special packer for that. BoxedApp Packer ( boxedapp.com ), for example. It packs all app in one exe file, and during runtime extracts all DLL's ,controls and others to memory and use all it only from that.
     
  4. StarDrago

    StarDrago Member

    Joined:
    Nov 12, 2011
    Messages:
    51
    Likes Received:
    3
    Trophy Points:
    8
    Good tool... I also use it))
     
  5. Scripting

    Scripting John Hoder

    Joined:
    Jun 29, 2010
    Messages:
    421
    Likes Received:
    57
    Trophy Points:
    0
    Occupation:
    School for life
    Location:
    /root
    You can do another DLL which will load that certain DLL and add there some runtime protection, so no other application can use it... But it's somewhat advanced :D Or use SLL :D
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice