[英]How to protect my application data in any operating system?
I have an application which generates few files and get stored locally on the system. 我有一个生成少量文件并存储在系统本地的应用程序。 I need to protect that generated files from getting deleted by any user in the system.
我需要防止该生成的文件被系统中的任何用户删除。 By setting the permission to that particular folder containing files, still I cannot stop Admin from deleting the files.
通过将权限设置为包含文件的特定文件夹,我仍然无法阻止Admin删除文件。 Is there any way to achieve this in Windows/Mac/Linux.
在Windows / Mac / Linux中有什么方法可以实现这一目标。
No, there is no practical way to prevent someone with sufficient credentials from deleting the file. 不可以,没有实用的方法可以防止具有足够凭据的人删除文件。 You can make it difficult, but you can't make it impossible unless you patch the OS and/or firmware yourself.
您可能会遇到困难,但除非您自己修补操作系统和/或固件,否则就不可能做到这一点。 And without trying to sound too condescending, is the type of thing where if you have to ask how to do it, you won't be able to do it.
而且,如果您不想问得太自负,那是一种事情,如果您不得不问如何做,那么您将无法做到。
This is as it should be: the user owns the computer, you don't. 这是应该的:用户拥有计算机,而您没有。 They should have complete control over it.
他们应该完全控制它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.