如何:从另一个应用程序中加密文件

编程入门 行业动态 更新时间:2024-10-10 00:21:55
本文介绍了如何:从另一个应用程序中加密文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好: 有没有人知道如何使用第三方加密工具对主应用程序中的文件或项目进行编码? 例如: 我启动MS-Word来创建一个新文档,但是当我保存它时,当我从MS-Word应用程序保存文档时,文档会被加密。 /> 谢谢, Quecumber256

Hi everyone: Does anyone know of a way to use a third party encryption tool to encode a file or project from within the main application? For example: I start MS-Word to create a new document, but when I save it, the document is encrypted when I save it from the MS-Word application. Thanks, Quecumber256

推荐答案

我在C-NET上看到了一个应用程序叫捕食者。 Predator将一个密钥写入USB驱动器,当USB驱动器插入您的计算机时,访问被授予,当您被移除时,您的PC被锁定。 加密应用程序I我想到的是:当插入USB驱动器时,你创建的任何东西都会被加密,但是如果没有USB驱动器则会正常保存。 谢谢, Quecumber256 I saw on C-NET a application called Predator. Predator writes a key onto a USB drive and when the USB drive is inserted into your computer access is granted, when removed your PC is locked down. The encryption application I had in mind is: When the USB drive is inserted anything you create will be encrypted, but if the USB drive is absent it is saved normally. Thanks, Quecumber256

正如TRK3所说,加密过程取决于您选择的加密工具/库。但是,使用外部库的一个大问题是,在使用最初创建它的应用程序(例如MS Word)访问文件之前,您必须经历解密过程。如果MS和其他应用程序制造商允许你动态地构建插件来加密/解密(这不是我所知道的,但我想他们正试图避免负债),这将是很好的。让其他人做插件)。 我查了一下Predator USB驱动器,它只是一个锁定设备,没有加密。当然,这种锁定装置很容易被绕开,所以它实际上并不比普通系统密码更安全。 忘了提,很多驱动器现在也支持批量加密,因此您可以阅读。取决于您的目标是什么(保持某些数据安全而不是让整个系统保持安全而不让您的朋友查看您的文件),这也可能有助于了解。 As TRK3 said, the encryption process will depend on the encryption tool/library that you choose. Big problem with using external libraries though is that you''ll have to go through the decryption process before you can access the file with the application that originally made it (for example MS Word). It would be nice if MS and other application makers would allow you to build plug-ins to encrypt/decrypt on the fly (that doesn''t exist that I know of, but I guess they''re trying to steer free of liabilities of having other people make plug-ins). I looked up that Predator USB drive and it''s simply a locking device, there''s NO encryption. Of course, this locking device can easily be circumvented so it''s really no safer than a regular system password. Forgot to mention, a lot of drives also support bulk encryption now as well, so you can read up on that. Depending on what your goal is (keep certain data secure vs. keep a whole system secure vs. keep your friend from looking at your files), that may also be helpful to know about.

致TKR3和Albert Holguin: 感谢您的建议。我之所以将其标记为C ++,Linux是因为我想用C ++编写Cypher工具的原因,我不能仅仅将其标记为C ++问题。 我担心我无法按照我的想象创建应用程序。看起来我必须找到另一种方法。 再次感谢, Quecumber256 To TKR3 and Albert Holguin: Thanks for your advice. The reason I tagged it C++, Linux was I wanted to code the Cypher tool in C++ for standalone reasons, and I couldn''t just tag it as a C++ problem. I was afraid I couldn''t create the application as I envisioned it. Looks like I''ll have to find another approach. Thanks again, Quecumber256

更多推荐

如何:从另一个应用程序中加密文件

本文发布于:2023-11-09 23:37:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573754.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   加密文件

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!