Results 1 to 5 of 5

Thread: Determining a file owner

  1. #1

    Thread Starter
    Hyperactive Member Foxer's Avatar
    Join Date
    Oct 2001
    Location
    Australia
    Posts
    278

    Determining a file owner

    I have a mixed bag of files on my server and I need to know who created them.

    Is there any way in .Net to work out who created the file? As in a network name or mac address or anything that will identify the creator?

    I would guess this stuff is stored in the NTFS (windows 2k btw) but I need a .Net class that can access this.

    System.IO.FileInfo doesn't seem to go far enough.
    Rate my response if I helped

    Go Hard Or Go Home


  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Unfortunately there is no .NET class to access the NTFS stream or the info specific to it.

  3. #3

    Thread Starter
    Hyperactive Member Foxer's Avatar
    Join Date
    Oct 2001
    Location
    Australia
    Posts
    278
    ACK!
    Rate my response if I helped

    Go Hard Or Go Home


  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    The closest to any insite that I have seen into how to dive into the NTFS stream is in C++ and even that was hard to come by. Unless you mean Office Documents specifically which can be accessed via an OLE object of some sort.

    So I second your 'ACK!' but if you find anything I'd love to hear it too.

  5. #5

    Thread Starter
    Hyperactive Member Foxer's Avatar
    Join Date
    Oct 2001
    Location
    Australia
    Posts
    278

    Interesting

    The Windows 2000 Resource Kit has a command line utility called

    DiskUse

    that produces output like :-


    DiskUse Output from 09/04/2003 at 12:17:30
    ------------------------------------------

    User: AndersonMr
    SpaceUsed: 188637598

    g:\DSCF0001.JPG
    737461 : 06/22/2003 :
    g:\DSCF0002.JPG
    732655 : 06/22/2003 :


    Which lists all files ** CREATED ** by network log on of AndersonMr

    Its not open source and the command line options are limited but its somewhere to start.
    Rate my response if I helped

    Go Hard Or Go Home


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