By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,679 Members | 1,592 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,679 IT Pros & Developers. It's quick & easy.

Prevent people from using my dll's

P: n/a
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!!
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Mitchell wrote:
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/AANdqIgG2rIGbvcRAr7MAJ9WNRUK73xkTJx8pkVwTIOifBYPyQ CeL+ob
6RGB3IrhVJ8ZUT8KRcLSUco=
=orAS
-----END PGP SIGNATURE-----
Jul 19 '05 #2

P: n/a
Thank you very much for the support!!
"agron" <ag******@7kosova.com> wrote in message
news:zs*******************@news01.bloor.is.net.cab le.rogers.com...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Mitchell wrote:
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/AANdqIgG2rIGbvcRAr7MAJ9WNRUK73xkTJx8pkVwTIOifBYPyQ CeL+ob
6RGB3IrhVJ8ZUT8KRcLSUco=
=orAS
-----END PGP SIGNATURE-----

Jul 19 '05 #3

P: n/a
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

--

--------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights
"Brian Mitchell" <Ma********@hotmail.com> wrote in message
news:ea**************@TK2MSFTNGP11.phx.gbl...
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!!

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.