Well I’m seeing contradictory responses. Maybe I understood your mail
below:
“A user mode process is to provide the name of the files that
are to be encrypted, so that is why I must know the name during each
Read/Write”
As I am stated in my first response, if you see an ‘unknown’ FsContext -
you should be ignoring the file anyway, since it would be default
uninteresting due to the 2 specific conditions under which the unknown
FsContext would appear to you. ( it’s i/o on metat-data, or it’s for a
file which was created before your filter loaded).
If you see an exception to the above: i.e. you see an FsContext you
haven’t seen during post-create processing - but the i/o is for a user
data stream for any MS filesystems, please do let me know.
Ravi
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: Dejan Maksimovic [mailto:xxxxx@alfasp.com]
Sent: Monday, July 01, 2002 3:15 PM
To: File Systems Developers
Subject: [ntfsd] Re: Encryption filter question
For the last time, I DON’T query during I/O, UNLESS I HAVE TO.
(Sorry to shout:-)
I only query if the FsContext is unknown, which does happen.
There are already 3 filters out there that do it this way, and
successfully. They were in the market for over 5 years.
Dejan.
Ravisankar Pudipeddi wrote:
That’s definitely not the most efficient way to write an encryption
filter, nor is it reliable. Unless you don’t intend this to filter to
circulate/work outside your test machine, I am afraid this wouldn’t
work.
Having user-mode process tell you which file to encrypt/decrypt is
fine
- however you should do this up-front, i.e. at create. You do not need
to - and should not do name queries on every i/o.
–
Kind regards, Dejan M. www.alfasp.com
E-mail: xxxxx@alfasp.com ICQ#: 56570367
Alfa File Monitor - File monitoring library for Win32 developers. Alfa
File Protector - File protection and hiding library for Win32
developers. Alfa Registry Monitor - Registry monitoring library for
Win32 developers. Alfa Registry Protector - Registry protection library
for Win32 developers.
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%