This is why Claude invented ACLs.
Windows has a file security model. It’s fundamentally based on checks at
Open. It doesn’t matter if it’s in the cache due to activity of process
A: process B can’t open it unless the token for the process is granted
access.
Trying to kludge in all sorts of other access control checks that aren’t
enforced (a) at open and (b) based on the current token is unlikely to
yield a reliable, useful solution. There’s not much point to an
unreliable security feature.
Access checks on READ are born to lose. It’s not how the system is
designed to work.
-----Original Message-----
From: Nicholas Ryan [mailto:xxxxx@nryan.com]
Sent: Wednesday, October 02, 2002 4:23 PM
To: File Systems Developers
Subject: [ntfsd] RE: FSFD Blocking IRP_MJ_READ
The problem is, the intial paged reads may have been emitted by
a different application, one that did have privileges for the file. Once
they’re in the cache, they’re in there for all applications until it’s
purged.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vladimir
Chtchetkine
Sent: Wednesday, October 02, 2002 12:38 PM
To: File Systems Developers
Subject: [ntfsd] RE: FSFD Blocking IRP_MJ_READ
Even though file might be mapped, there will be initial
IRP_MJ_READs (paged) to get file’s content from
disk to the cache/image section. Is it not enough? What
are you trying to accomplish?
-----Original Message-----
From: Razvan Hobeanu [mailto:xxxxx@xnet.ro]
Sent: Wednesday, October 02, 2002 12:59 PM
To: File Systems Developers
Subject: [ntfsd] FSFD Blocking IRP_MJ_READ
My filter driver should block some IRP_MJ_READs and it
does that
successfully. The problem is that applications like
Notepad may use
file-mapping so the data requested by this applications
might be cached. If
so, how should I prevent them to read the data from
cache? Any ideas?
Thank you,
Razvan
You are currently subscribed to ntfsd as:
xxxxx@Starbase.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntfsd as:
xxxxx@nryan.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntfsd as: xxxxx@basistech.com
To unsubscribe send a blank email to
%%email.unsub%%