Home All Groups Group Topic Archive Search About

Intercepting File read/write request from any program

Author
1 Feb 2006 12:16 PM
VJ
HI,

I am wrtting a security tool which will encrypt all doc, xls, etc files on a
system drive and after that it intercept read request for that files from
any program, it will first decrypt the content of file on the fly and return
the decrypted content to the calling program.

My problem is I dont know how to setup up the hook on a filesystem (NTFS,
FAT) and return the decrypted content to the calling prgram such that this
decrypting process is transperent to the calling program.

Any help/lead/suggestions will be highly appreciated.

Best Regadrs
VJ

Author
1 Feb 2006 12:52 PM
J French
Show quote Hide quote
On Wed, 1 Feb 2006 15:16:32 +0300, "VJ" <s*@ss.com> wrote:

>HI,
>
>I am wrtting a security tool which will encrypt all doc, xls, etc files on a
>system drive and after that it intercept read request for that files from
>any program, it will first decrypt the content of file on the fly and return
>the decrypted content to the calling program.
>
>My problem is I dont know how to setup up the hook on a filesystem (NTFS,
>FAT) and return the decrypted content to the calling prgram such that this
>decrypting process is transperent to the calling program.
>
>Any help/lead/suggestions will be highly appreciated.

I suggest you give up on that
- it is possible as people do it
- see http://www.sysinternals.com/

- but you are into the area of writing device drivers, and VB will not
do that

You might possibly be able to buy in something from sysinternals, but
it would be expensive and probably not work with VB
Author
1 Feb 2006 3:11 PM
Dave
Where is the security, if when an application requests data it gets
decrypted, how will your "driver" distinguish between an applicaion with
legitimate rights and one without suitable rights.

Probably easier to use the built in encryption that ships with NTFS.

Best Regards
Dave O.

Show quoteHide quote
"VJ" <s*@ss.com> wrote in message
news:uS%23SnlyJGHA.3100@tk2msftngp13.phx.gbl...
> HI,
>
> I am wrtting a security tool which will encrypt all doc, xls, etc files on
> a system drive and after that it intercept read request for that files
> from any program, it will first decrypt the content of file on the fly and
> return the decrypted content to the calling program.
>
> My problem is I dont know how to setup up the hook on a filesystem (NTFS,
> FAT) and return the decrypted content to the calling prgram such that this
> decrypting process is transperent to the calling program.
>
> Any help/lead/suggestions will be highly appreciated.
>
> Best Regadrs
> VJ
>
Author
2 Feb 2006 2:47 PM
vj
yeah i think using the NTFS encryption is the best option available right
now for me to deal with this problem.

thanks Dave


Show quoteHide quote
"Dave" <nob***@nowhere.com> wrote in message
news:udnXQH0JGHA.1320@TK2MSFTNGP15.phx.gbl...
> Where is the security, if when an application requests data it gets
> decrypted, how will your "driver" distinguish between an applicaion with
> legitimate rights and one without suitable rights.
>
> Probably easier to use the built in encryption that ships with NTFS.
>
> Best Regards
> Dave O.
>
> "VJ" <s*@ss.com> wrote in message
> news:uS%23SnlyJGHA.3100@tk2msftngp13.phx.gbl...
>> HI,
>>
>> I am wrtting a security tool which will encrypt all doc, xls, etc files
>> on a system drive and after that it intercept read request for that files
>> from any program, it will first decrypt the content of file on the fly
>> and return the decrypted content to the calling program.
>>
>> My problem is I dont know how to setup up the hook on a filesystem (NTFS,
>> FAT) and return the decrypted content to the calling prgram such that
>> this decrypting process is transperent to the calling program.
>>
>> Any help/lead/suggestions will be highly appreciated.
>>
>> Best Regadrs
>> VJ
>>
>
>