Security: Preventing Unauthorized Loading/Calls into C++ DLL -


I have C ++ DLL, foo.dll, which provides API methods that give the clayetext answer of encrypted data Are there. I want to come up with a strong solution to allow this DLL to load and use its functions only to manelies (such as user.dll).

This is not the problem of DLL spoofing, but a question of how to hobble a DLL to work only in some contexts I am potentially in non-network context on many platforms, There is no possibility of calling or relying on system calls.

Whatever I have considered, it is a house that uses 'magic key' security, 'do your own roll' is often bad.

Any advice of acceptable methods for this kind of DLL level security?

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -