Adding FILE_SHARE_READ in filter driver

Hi, all

A filter driver in its CREATE dispatch handler
adds FILE_SHARE_READ into ShareMode
for network files (for every file, regardles of
desired access, file name or whatever).

Does anyone see a caveat with it ?

L.

A VERY unlikely scenario where two apps by same vendor use no share reading in
first to indicate something to the second? (too much philosophy here;-)
Other than that, nope.

Ladislav Zezula wrote:

Hi, all

A filter driver in its CREATE dispatch handler
adds FILE_SHARE_READ into ShareMode
for network files (for every file, regardles of
desired access, file name or whatever).

Does anyone see a caveat with it ?

L.


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

> A VERY unlikely scenario where two apps by same vendor use no share

reading in
first to indicate something to the second? (too much philosophy here;-)
Other than that, nope.

Or some file system test application, which tests file sharing rules :slight_smile:

L.

LOL

Or some file system test application, which tests file sharing rules :slight_smile:


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.