access windows security file owner attribute

Discussion in 'Java' started by Tzap, Mar 1, 2006.

  1. Tzap

    Tzap Guest

    I'm curious as to how I can access the name of a file owner through
    Java. It's clearly not a part of the "file" object type in java, but
    from what I understand there are some API's I can use to get all the
    attributes of a file that are in the Windows XP security settings
     
    Tzap, Mar 1, 2006
    #1
    1. Advertising

  2. Tzap

    Joe Attardi Guest

    Tzap wrote:
    > I'm curious as to how I can access the name of a file owner through
    > Java. It's clearly not a part of the "file" object type in java, but
    > from what I understand there are some API's I can use to get all the
    > attributes of a file that are in the Windows XP security settings


    You would need to access the appropriate functions in the Win32 API
    from a C or C++ function, then call that using JNI.
     
    Joe Attardi, Mar 1, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ishmael Rufus

    NTFS File System - File Owner

    Ishmael Rufus, Jan 31, 2007, in forum: Java
    Replies:
    0
    Views:
    387
    Ishmael Rufus
    Jan 31, 2007
  2. kai rosenthal

    Windows: get owner and group of a file

    kai rosenthal, Dec 6, 2006, in forum: Python
    Replies:
    6
    Views:
    680
  3. Thibault Ketterer

    Get file owner in Windows

    Thibault Ketterer, Jul 23, 2007, in forum: Python
    Replies:
    0
    Views:
    363
    Thibault Ketterer
    Jul 23, 2007
  4. Mmcolli00 Mom

    File owner attribute method

    Mmcolli00 Mom, Mar 13, 2009, in forum: Ruby
    Replies:
    1
    Views:
    92
    Mmcolli00 Mom
    Mar 14, 2009
  5. Aqua

    Windows 2000/XP: Owner of a File

    Aqua, Sep 20, 2006, in forum: Perl Misc
    Replies:
    3
    Views:
    108
    Dr.Ruud
    Sep 21, 2006
Loading...

Share This Page