I want to lock a certain folder and unlock it using a password, any ideeas ?
PS I am a delphi coder!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There exist several approaches:
application until it’s unlocked. The
files remain unchanged.
files in the folder and decrypt them
on-the-fly.
encrypted storage and mount this
storage as a virtual folder.
The first approach is flawed as it lets the user reboot the system in safe mode or just take the HDD to other computer and gain access to the folder.
Second approach is possible using file system filter driver. You can write your own or you can use our CallbackFilter product (which includes Encrypt sample for this particular purpose).
Third approach is also possible using our products. You can mount a virtual storage as a disk or as a folder on NTFS disk using Callback File System (see VMounter sample).
There exists also Pismo File Mount product on the market and it would work for you out of the box if it had Delphi API. That product mounts a container as a folder on the disk using FS Filter driver. Personally I am not fond of this approach, though — FS filter drivers are trickier than file system drivers and more prone to conflicts with third-party filters.