module security

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ahmet AKGUN

    #1

    module security


    Hi all,

    I have a mainform.exe that calls some functions and some forms in different
    classlibrary dlls.
    I dont want this dll's to be used by other programs except mine on client
    installation.

    I mean client must not add my .net dll as referance to a custom project and
    use it.
    can anybody help me with how to do this ?

    regards.
    Ahmet AKGUN


  • Greg Ewing [MVP]

    #2
    Re: module security

    Ahmet, how about just marking your methods as private or protected? That
    way, even if they do add your assembly they will not be able to call any of
    the methods.

    You can also find a lot of articles out on the net by searching for Code
    access Security on google.

    --
    Greg Ewing [MVP]
    IT support built exclusively for nonprofits. 25 years of managed IT, help desk, and cybersecurity - so your team can focus on your mission.


    "Ahmet AKGUN" <akgun_ahmet@ho tmail.com> wrote in message
    news:#ouvX2saDH A.2668@TK2MSFTN GP09.phx.gbl...[color=blue]
    >
    > Hi all,
    >
    > I have a mainform.exe that calls some functions and some forms in[/color]
    different[color=blue]
    > classlibrary dlls.
    > I dont want this dll's to be used by other programs except mine on client
    > installation.
    >
    > I mean client must not add my .net dll as referance to a custom project[/color]
    and[color=blue]
    > use it.
    > can anybody help me with how to do this ?
    >
    > regards.
    > Ahmet AKGUN
    >
    >[/color]


    Comment

    • Ahmet AKGUN

      #3
      Re: module security


      as you said i found articles in google searching "Code access Security "
      thanks..


      "Greg Ewing [MVP]" <gewing@_NO_SPA M_gewing.com> wrote in message
      news:ujqlj81aDH A.2580@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Ahmet, how about just marking your methods as private or protected? That
      > way, even if they do add your assembly they will not be able to call any[/color]
      of[color=blue]
      > the methods.
      >
      > You can also find a lot of articles out on the net by searching for Code
      > access Security on google.
      >
      > --
      > Greg Ewing [MVP]
      > http://www.citidc.com
      >
      > "Ahmet AKGUN" <akgun_ahmet@ho tmail.com> wrote in message
      > news:#ouvX2saDH A.2668@TK2MSFTN GP09.phx.gbl...[color=green]
      > >
      > > Hi all,
      > >
      > > I have a mainform.exe that calls some functions and some forms in[/color]
      > different[color=green]
      > > classlibrary dlls.
      > > I dont want this dll's to be used by other programs except mine on[/color][/color]
      client[color=blue][color=green]
      > > installation.
      > >
      > > I mean client must not add my .net dll as referance to a custom project[/color]
      > and[color=green]
      > > use it.
      > > can anybody help me with how to do this ?
      > >
      > > regards.
      > > Ahmet AKGUN
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...