Results 1 to 3 of 3

Thread: Record all files accessed via windows file sharing

  1. #1

    Thread Starter
    Lively Member xera's Avatar
    Join Date
    Nov 2006
    Location
    SA
    Posts
    104

    Record all files accessed via windows file sharing

    How can I record/log all files accessed via windows file sharing?

    I know about openfiles.exe, but I don't wanna have to execute that every 5 seconds.

    Also, but not as important, I would like to know if the whole file was read (aka copied), or just a bit of it was read (viewed)

    Any ideas?
    Did you know... ..that you live in a Universe?!
    Code:
    var Answer = Uni + Verse = single + spoken + sentence;


    Life is amusing...

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Record all files accessed via windows file sharing

    You can turn on Security Auditing in Windows and then there will be an entry in the Security event log for each time anyone tries to access a file on that computer. The only problem with this is that the information is quite verbose and you get an awful lot of event log entries. I guess the best method depends exactly what you want it for and in what situation you would need to refer to this log as well as how far back the information needs to go.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Lively Member xera's Avatar
    Join Date
    Nov 2006
    Location
    SA
    Posts
    104

    Re: Record all files accessed via windows file sharing

    hI thanks!

    Is there any way that I can do that programmatically, using C# for example?
    Did you know... ..that you live in a Universe?!
    Code:
    var Answer = Uni + Verse = single + spoken + sentence;


    Life is amusing...

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