Color filter for encrypted files and folders
Posted: 06 Sep 2006 14:39
I'm currently trying out XYplorer and found that it's possible to designate colors to certain kinds of attributes (e.g. compressed files). Is this somehow possible to achieve for encrypted files as well? Isn't this merely an attribute in the file system also?
I use the built-in encryption feature in NTFS a lot. In Windows Explorer, encrypted files and folders are denoted with a distinct color. This feature is essential as I can't mentally keep track of every encrypted file on my system. For some reason, most file manager replacements I've tried seem to lack this feature. Without it they can't really serve as replacements for my needs. Thus, I hope this is easy to achieve in XYplorer. I can't find any reference to encrypted files in the documentation nor on the forums.
A quick Google search produced the following:
This attribute could simply be utilized as such:
/encrypted (or /e) -> matches all items with ENCRYPTED set
I use the built-in encryption feature in NTFS a lot. In Windows Explorer, encrypted files and folders are denoted with a distinct color. This feature is essential as I can't mentally keep track of every encrypted file on my system. For some reason, most file manager replacements I've tried seem to lack this feature. Without it they can't really serve as replacements for my needs. Thus, I hope this is easy to achieve in XYplorer. I can't find any reference to encrypted files in the documentation nor on the forums.
A quick Google search produced the following:
A Programmer's Perspective on NTFS 2000 Part 2: Encryption, Sparseness, and Reparse PointsThe core Windows API is aware of the encryption attribute for a given file.
To detect whether a given file or folder is encrypted, you can still use GetFileAttributes(), as is the case with compressed files. The only difference is that now you should check attributes against a constant named FILE_ATTRIBUTES_ENCRYPTED. However, EFS gives you another chance: a new Windows 2000-specific function called FileEncryptionStatus().
This attribute could simply be utilized as such:
/encrypted (or /e) -> matches all items with ENCRYPTED set