MessageIf I use IRP_MJ_DIRECTORY_CONTROL for hiding files and folders, does it affect the MFT? I do not think, so the files and folders can be shown when the devices are mounted again. Am I right?
Regards,
Jay
----- Original Message -----
From: Pete Scott
To: File Systems Developers
Sent: Friday, October 05, 2001 12:43 AM
Subject: [ntfsd] RE: Hide Files and foilder, rename and delete
Directory information is obtained through the IRP_MJ_DIRECTORY_CONTROL/IRP_MN_QUERY_DIRECTORY entry point. If you are an FSD, then just don’t add the entries to the buffer returned. If you are a filter, grab the directory information buffer in a completion routine and mess it up there.
For deletion and rename processing, look at the IRP_MJ_SET_INFORMATION with an information class of FileDispositionInformation and FileRenameInformation respectively.
Pete
Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Moises Herrera Vazquez
Sent: Thursday, October 04, 2001 10:14 AM
To: File Systems Developers
Subject: [ntfsd] Hide Files and foilder, rename and delete
Hello,
I want to learn how can I hide a file or folder to OS, for example I need that command dir not list my files and folder, but not using the hidden atribute… I want hide of all…
Can I intercep some IRP or something that manage FindFirst and FindNext?
The other question if how can I denied delete and permit rename and viceversa, under NTFS? is posible?
Thanks guys
Moises
You are currently subscribed to ntfsd as: xxxxx@home.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@neat.co.kr
To unsubscribe send a blank email to xxxxx@lists.osr.com
???y˫???+.n?+???~?Z?˛??^r*D???kN???r??zǧu??jy???^j??? 0?j?b??(??(