Prevent exe from loading a specific dll

I'm not sure this is the correct place for this, but I'll try anyways. I'm creating a diagnostic program that looks for 3rd party dlls loaded under an executable. I want to find a way to restrict said exe from loading certain dlls such as those from mcafee.

I can create a batch file to remove all permissions for a dll "CACLS some.dll /p guest:n" then launch the app and give back the permissions to the dll, but I'm wondering if there is a more acute way of doing this.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!