I never did encryption or decryption, so I decided to jump in and try to do something similar to FolderLock. The following questions are mostly about design issues, but some coding issues are mixed up.
http://www.newsoftwares.net/folderlock/
Despite this, I was in the initial stages and had some preliminary questions.
When you encrypt a folder, you really encrypt all the files inside the folder, not the folders themselves, since the folder cannot be encrypted. It is right?
In addition, I wrote my encrypted / decrypted code, but I want to include a password in it. My plan is that when a user selects a folder / file for encryption, set a password for them that will be associated with the key needed to decrypt the folder / file. Good idea or bad idea? Anyone have a better suggestion? I discuss having one password for the program itself, which also unlocks any encrypted file / folder ...
How do I change a folder in Windows 7 (which I encrypted) to request a password when I open it, and not just open and show all encrypted files?
Finally, when you encrypt the file (with the way my code is being written now), you get the source file that you encrypted and the encrypted version of that file. I'm sure I know the answer to this question, but am I deleting the original version and leaving the encrypted version? What if, for some reason, the decryption fails and I don’t have a backup of my file? Should I back up files?
Thanks for any help! I tried to search on the above questions, but it seems that most of the people who do this are at a much higher level than me, so I did not find many useful answers.
EDIT: let me explain that although I am trying to create something similar to FolderLock, this is ONLY for my education. I am not trying to create a commercially viable application, just doing something fun and learning at the same time.
CODe
source share