🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5281

Re: How to prevent some specified files copied

#5281
From: Mike Collins
Date: Sat, 10 Sep 2005 23:09
21 lines
1626 bytes
Could use DLL-injection, it's pretty heavy but would work for this and is 
far easier than trying to write a file system driver.

A good starting point and article is: 
http://codeproject.com/system/hooksys.asp


"Avex" <avex@I.Dont.Like.Spammer> wrote in message 
news:432323a1@newsgroups.borland.com...
> Hi All,
>
> I can use FileSystemWatcher function to monitor files which were
> changed/created/deleted. However, I want to prevent users to copy some
> specified files  to other path. How do I do ? Does it need to write a file
> system driver?
>
> Thanks for any help,
>
> Avex
>
> 
Technical Details
Message-ID: <43236559@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <432323a1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,af9ce8dd1d8ccddc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@thebottomofthe.post>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <432323a1@newsgroups.borland.com>
Subject: Re: How to prevent some specified files copied
Date: Sun, 11 Sep 2005 00:09:27 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.2.92.14
Message-ID: <43236559@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126393177 81.2.92.14 (10 Sep 2005 15:59:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail