Results 1 to 3 of 3

Thread: FilesystemWatcher -

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    FilesystemWatcher -

    Now we can "watch" which files are being access ...easily done using filesystemwatcher, but say if I want to protect certain files , then how do I stop the user from "opening a file" when I do find that the user is accessing a "forbidden file"???

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    This should be enforced at the OS level. The admin can easily block access to certain folders. If the user doesn't have access, it won't let them in. This would illiminate the filesystemwatcher in the case your describing.

    You can use the filesystemwatcher to log the activity and then present it to the admin of the computer, but if the person has already opened the file, there is nothing your going to do at that point. You need to stop them before they open the file, and as stated before, the filesystemwatcher isn't going to do that.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    Thanks, but would u be able to point me to a link which would enable me to stop a user from opening a file programmatically (something like a utility folder guard does).

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width