No copying

How can I prohibit a file fro copying to other place in file filter driver,
or who can instucted me some other methods?

Thanks in advance!


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

A “copy” simply involves read the contents of a file, writing it to
another file and then deleting the original. There is no way to connect
all these into one operation at the FS level i.e. you can’t distinguish
a read for copying from any other sort of read.

The only operation you could intercept is a “move” (i.e. rename) of a
file on the same volume (see Win32 MoveFile() function). In this case
you will get and IRP_MJ_SET_INFORMATION call with a
FIleRenameInformation class in the filter. But even in this
case the application doesn’t *have* to use this interface (it could
simply use a copy instead if it chooses) and it will *not* be used for
moving files between different volumes.

Shaun

xxxxx@genius-soft.com wrote:

How can I prohibit a file fro copying to other place in file filter driver,
or who can instucted me some other methods?

Thanks in advance!


You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Have you tried looking into the Shell Extension Copy Hook? This
allows you to prevent the user copying, renaming or deleting files
using Explorer at least (it probably won’t stop an application or
command prompt though).

Shaun

xxxxx@genius-soft.com wrote:

How can I prohibit a file fro copying to other place in file filter driver,
or who can instucted me some other methods?

Thanks in advance!


You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com