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

Reference Security.

P: n/a
Hi,

I have a solution with serveral projects in it.
Some of the classes are public classes so the can be referenced from
serveral places in my solution.
When built the solution contains a .exe and serveral supporting dlls.

How do I stop other people added a reference to my dlls and using the
function within them. Is there a sercurity setting that only allow projects
in my solution to refernce the dlls.

Regards
Tim
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
For the classes inside the DLL's that you don't want public, make them internal

internal class mysecretclass
{
}

"Tim Marsden" wrote:
Hi,

I have a solution with serveral projects in it.
Some of the classes are public classes so the can be referenced from
serveral places in my solution.
When built the solution contains a .exe and serveral supporting dlls.

How do I stop other people added a reference to my dlls and using the
function within them. Is there a sercurity setting that only allow projects
in my solution to refernce the dlls.

Regards
Tim

Jul 21 '05 #2

P: n/a
Thanks for the reply,

I forgot to say I am using VB.NET

Tim

"ttupper" <tt*****@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
For the classes inside the DLL's that you don't want public, make them
internal

internal class mysecretclass
{
}

"Tim Marsden" wrote:
Hi,

I have a solution with serveral projects in it.
Some of the classes are public classes so the can be referenced from
serveral places in my solution.
When built the solution contains a .exe and serveral supporting dlls.

How do I stop other people added a reference to my dlls and using the
function within them. Is there a sercurity setting that only allow
projects
in my solution to refernce the dlls.

Regards
Tim

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.