zip 文件加密
我正在尝试阻止 zip 文件打开...
如何阻止它...除了修改 zip 标头信息之外还有其他方法吗?
我的资源包含 zip 文件,但我不想向用户打开它...
请让我知道
I'm trying to block zip file open...
How to block it.... Is there any other methods except modifying zip header info.
My rosources are packed with zip file but I don't want to open it to users...
Please let me know it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
一种方法是使用一个小程序来混淆 zip 文件的标头
然后当您需要解压缩文件时,您可以恢复标题。到目前为止,这还不是万无一失的
方法,但它可能会阻止一些人(当然你的文件不应该有 .zip 扩展名
或者从那时起他们可能会首先寻找)。
另一个可能更好的选择是使用内置的 zip 加密方式加密您的 zip 文件,我们使用许多标准加密库之一。
One way would be to have a little program that garbles the header of the zip-file
then when you need to unzip the file you restore the header. It is by far not a fool proof
method but it may deter some people (Of course your files shouldn't have the .zip extension
either since then they may be looking in the first place).
Another, probably better option is encrypt your zip-file either using the zip built in way of encrypting it our use one of the many standard encryption libraries out there.
如前所述,如果您泄露了数据和密钥(以任何形式),那么提取这些数据只是时间和精力的问题。
可以采取多种操作来使数据访问变得更加复杂:
并且最容易破解。
不同的密钥并始终提取
仅那些您需要的数据
每个具体操作。这边走
你永远不会提取所有数据
立即并且不要保留它们
不受保护。
打包和加密,不
标准邮政编码。定制的越多
解决办法是,越难
来选取数据。我们的 SolFS
产品可用于此
目的。为了让事情变得更加
复杂,你可以阅读an
文章。
保护数据访问的密钥
(阅读上面的文章了解
有关硬件密钥的信息)。
As said before, if you give away the data and the key (in whatever form), it's a matter of time and efforts to get those data extracted.
There can be several actions taken to make access to the data more complicated:
and the simplest to crack.
different keys and always extract
only those data that you need for
each particular operation. This way
you don't ever extract all the data
at once and don't keep them
unprotected.
packaging and encryption, not
standard ZIP. The more custom the
solution is, the harder it will be
to pick the data. Our SolFS
product can be used for this
purpose. To make things even more
complicated, you can read an
article.
keys to protect access to the data
(read the above article for
information about hardware keys).
您可以为 zip 文件提供密码保护。
拥有密码的人只能打开该文件。
从链接http://www.dslreports.com/faq/8730,
以下是如何在 Windows 中添加密码保护。
并选择“探索”。在“文件”中,
密码并确认密码。
You can give password protection to zip file.
Whoever has the password can only open the file.
From link http://www.dslreports.com/faq/8730,
Here is how to add password protection in Windows.
and select “Explore.” In “File,”
password and confirm the password.