Working with dll i got into a situation where loading a dll can cause security threat.
lets say for example when you load a DLL, it gets same access privilege as the calling process.
So if calling process is running with Admin privilege the loaded dll gets the elevated privilege of admin. Which could be a threat to system.
So is there any way of specifying at the time of loading a dll about the priviliges.
OR How can we load a DLL with lower privileges level.