Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Linux
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
Posted 30-Nov-12 10:51am
Comments
TRK3 at 30-Nov-12 17:28pm
   
It would depend on (a) the third party encryption tool [find one and read the manual] and (b) the main application.
 
The typical way to do this sort of thing is to have an encrypted directory or encrypted disk -- Windows will let you turn on encryption on a directory by directory basis. There are probably third party tools that do something similar if you don't want to use the built in Windows functionality for some reason.
Albert Holguin at 1-Dec-12 22:16pm
   
This could probably be a solution since his question is so vague anyway...
Albert Holguin at 1-Dec-12 22:27pm
   
By the way... I also noticed you use MS Word in your example yet you tagged it with Linux... tag appropriately please.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Albert Holguin at 1-Dec-12 22:15pm
   
Don't post follow ups or improvements as solutions, use the "Improve question" link under your original question to update.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
 
[Edit] 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.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 329
2 CPallini 270
3 Afzaal Ahmad Zeeshan 204
4 DamithSL 194
0 OriginalGriff 5,515
1 DamithSL 4,451
2 Maciej Los 3,902
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 2 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100