Suppose you have a DLL which exposes a class like this:
class MyClass
{
public:
int MyMethod();
}
How would you deny or at least make it harder for other people/ hackers to take this DLL and use it in their programs?
Is there a standard way?
Suppose you have a DLL which exposes a class like this:
class MyClass
{
public:
int MyMethod();
}
How would you deny or at least make it harder for other people/ hackers to take this DLL and use it in their programs?
Is there a standard way?
I'd link it statically. Let's not forget that a DLL is simply a standalone "application" that is supposed to expose its functions - they were never designed to have security measures.