如何防止在我的应用程序中调用外部DLL。 [英] How do I prevent an external DLL get invoked placed in my application.

查看:126
本文介绍了如何防止在我的应用程序中调用外部DLL。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

External dll eg.version.dll is searching in my app path and its throwing NAME NOT FOUND in my application path in Process monitor log. I place a version.dll(calculator.dll i renamed as version.dll) in the path now its getting invoked simultaneously with my exe. how to avoid this. any solution pls suggest





我尝试过:



在我的exe的主要方法中,我删除了我的apppath中的文件(除了使用.dll / .exe)。现在也删除了version.dll并且调用了plus version(这是calculator.dll)。



What I have tried:

In main method of my exe i deleted the files (other than used .dll/.exe) in my apppath. now that also the version.dll is removed and plus version.dll(which is calculator.dll) is invoked .

推荐答案

你担心的事情你真的可以100%控制和预防。攻击必须围绕您的应用程序进行专门设计。除非你已经安装了这个应用程序的数十万次安装,否则真的没什么好担心的。你的应用程序对任何人来说都不会是一个多汁的目标。



即使你可以防止这样的攻击,这只是一个安全漏洞在你的应用程序中你忽略了所有其他的,比如可能的SQL注入攻击,中间人,键盘拦截和填充,......
You're worried about something you really can't 100% control and prevent. The attack would have to be specifically designed around your application. Unless you've got hundreds of thousands of installations of whatever this app does, there's really not much to be worried about. Your application isn't going to be a juicy enough target for anyone to bother with.

Even if you could prevent an attack like this, this is just one security hole in your app. You're ignoring all the other ones, like possible SQL Injection attacks, man-in-the-middle, keyboard intercepts and stuffing, ...


这篇关于如何防止在我的应用程序中调用外部DLL。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆