Prevent people from using my dll's

  • Thread starter Thread starter Brian Mitchell
  • Start date Start date
B

Brian Mitchell

How do I prevent other people from using the dll's I create? I looked at
identity permissions but it looks like those are more for identifying an
assembly.

Any help would be great. Thanks!!
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian said:
How do I prevent other people from using the dll's I create? I looked at
identity permissions but it looks like those are more for identifying an
assembly.

Any help would be great. Thanks!!

You have two chioces:

1. Create an activex with license and use the activex

2. You can encrypt the dll's with a command line compression program or a
compression library with a secret password. And then just before loading
the dll you can decrypt to a random temp file and load it. You can either
delete or leave the temp file since its name wont make any sence anyway.

Winrar is a good candidate. It has UNRAR library you can freely use.

Enjoy.

Agron.

- --
Verify this digital signiture at http://www.mandrakesecure.net/cks/
Generate your own digital signiture with http://www.gnupg.org/
My email account does not receive messages without GNUPG signature. Best
spam killer so far.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/AANdqIgG2rIGbvcRAr7MAJ9WNRUK73xkTJx8pkVwTIOifBYPyQCeL+ob
6RGB3IrhVJ8ZUT8KRcLSUco=
=orAS
-----END PGP SIGNATURE-----
 
Thank you very much for the support!!


agron said:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



You have two chioces:

1. Create an activex with license and use the activex

2. You can encrypt the dll's with a command line compression program or a
compression library with a secret password. And then just before loading
the dll you can decrypt to a random temp file and load it. You can either
delete or leave the temp file since its name wont make any sence anyway.

Winrar is a good candidate. It has UNRAR library you can freely use.

Enjoy.

Agron.

- --
Verify this digital signiture at http://www.mandrakesecure.net/cks/
Generate your own digital signiture with http://www.gnupg.org/
My email account does not receive messages without GNUPG signature. Best
spam killer so far.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/AANdqIgG2rIGbvcRAr7MAJ9WNRUK73xkTJx8pkVwTIOifBYPyQCeL+ob
6RGB3IrhVJ8ZUT8KRcLSUco=
=orAS
-----END PGP SIGNATURE-----
 
Hi Brian,

You could use a StrongNameIdentity LinkDemand, which will prevent
assemblies without a specific strong name from linking against your
assembly. If you then use a keypair that you keep private, nobody but you
will be able to link against this assembly.

-Shawn
 
Back
Top