troubleshooting Question

Prevent a dll from loading

Avatar of fjocke
fjocke asked on
Delphi
12 Comments1 Solution1058 ViewsLast Modified:
Hi, I have a little problem with my current Software. Seems like people are injecting dlls to alter / add malicious code which i dont want.
I do know that protecting my program with a Software protecter helps. Just that, incase it gets unpacked, i want another trap for this kind of "attack". How do i prevent a certain dll to getting attached or loaded into my program?

Lets say i have a program called "Myprogram.exe" and then somebody attaches a dll called Evildll.dll
How do i make Myprogram.exe to stop Evildll.dll ever being loaded? Or rather, How do i make a list of aproved dlls to load with the program?
ASKER CERTIFIED SOLUTION
Russell Libby
Software Engineer, Advisory
Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros