如何防止certian文件夹或文件被加密VB.NET [英] How to prevent a certian folder or file from being encrypted VB.NET

查看:155
本文介绍了如何防止certian文件夹或文件被加密VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好吗,有什么方法可以防止使用文件系统观察程序加密文件或者我认为是什么东西?在vb.net我已经尝试过让它们只读取等但是它们不能被删除等等。这可能是在vb.net中



我尝试过:



我在上面说过我已经尝试了感谢高级帮助。

hi everyone is there any way that i can prevent a file from being encrypted using a file system watcher or somthing i guess? in vb.net ive tried things like making them read only ect but then they cant be deleted ect. So is this possible in vb.net

What I have tried:

I said above what i have tried thanks for help in advanced.

推荐答案

没有。如果它们可以被写入或删除,它们可以被加密。



如果你想保护自己免受勒索软件的攻击,那么最好的解决方案就是遵循黄金法则:

1)备份。定期备份至少两个不同的驱动器,并在备份和实时数据之间产生空隙。如果发生了最糟糕的情况,您可以将两根手指放在传感器上,然后在一小时内从备份中重新安装。彻底备份,并经常备份。

2)不要打开可疑的电子邮件和链接 - 永远不要从未知或狡猾的网站下载EXE文件!正是你所期望的:如果你不给他们开口,他们就无法进入。

3)总是将你的系统修补到最新版本 - 它包含可以保存你的数据的安全补丁。

4)如果你怀疑自己被感染了,请立即断开网络,USB驱动器,WiFi,一切。防止它蔓延就像在第一时间没有被击中一样重要。

5)永远不要付钱。部分是因为无法保证付款会将您的数据返回给您。相反,它标志着你是 真正 想要它回来的人,因此会支付更多,更多的是它可以恢复的承诺。这是SUCKER!的平等。纹身在你的额头上...但主要是因为每次他们得到报酬,它就越鼓励他们继续。如果没有钱,他们就不会这样做。很简单。
No. If they can be written, or deleted, they could be encrypted.

If you are trying to protect yourself from ransomware, then the best solution is just follow the golden rules:
1) Backup. Do regular backups, to at least two different drives, and have an "air gap" between your backups and your "Live data". If the worst happens, you can put two fingers up the the ransomer, and reinstall from your backup in under an hour. Backup thoroughly, and backup often.
2) Don't open suspicious emails and links - and never download EXE files from unknown or dodgy sites! Exactly what you expect: if you don't give them an opening, they can't get in.
3) Always patch your system to the latest version - it includes security patches which may save your data.
4) If you suspect you are infected, immediately disconnect from networks, USB drives, WiFi, everything. Preventing it spreading is as important as not getting "hit" in teh first place.
5) Never pay the money. Partly because there is no guarantee that paying will get you your data back. Instead, it marks you as someone who really wants it back, and thus will pay more, and more on the promise that it can be recovered. It's the equivelant of having "SUCKER!" tattooed on your forehead... But mostly because every time they get paid, the more it encourages them to continue. If there is no money in it, they won't do it. Simple as that.


这篇关于如何防止certian文件夹或文件被加密VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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