How to lock a directory

directoryencryptionSecurity

I want to block any kind of access to a certain directory unless a password is provided. It could be my root or account password.

The directory is residing on an NTFS partition, and this method needs to work for Windows as well, as I'm accessing the partition from both Linux and Windows interchangeably.

It could be implemented as encryption.

How do I achieve this?

Best Answer

TrueCrypt, or another encryption method, is probably the way to go with this.