Primer needed: Java & Windows Security

Discussion in 'Java' started by Chris, Apr 18, 2005.

  1. Chris

    Chris Guest

    Can anyone point me to a primer on accessing Windows file security
    information from within Java?

    Here's the issue: my java app needs to access a variety of files on an
    intranet. The app will have a high level of privilege; it will be able to
    see everything. But it should only show the files to users who have
    permission to see them. So we'll need to have users log in, find out what
    their roles are, and then somehow find out any security information that's
    attached to the file, and filter the list of files appropriately.

    I guess I need a way to query the operating system, and ask if a particular
    user can see a particular file. I suspect native code is required. Can
    anyone get me started?
     
    Chris, Apr 18, 2005
    #1
    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. Richard

    SSL / authentication primer

    Richard, Jul 25, 2003, in forum: Java
    Replies:
    2
    Views:
    486
    Richard
    Jul 25, 2003
  2. Captain Dondo

    SVG primer

    Captain Dondo, Jan 21, 2006, in forum: HTML
    Replies:
    1
    Views:
    581
    Toby Inkster
    Jan 22, 2006
  3. Charles L

    'C++ Primer 2nd Ed' errata

    Charles L, Apr 11, 2004, in forum: C++
    Replies:
    2
    Views:
    367
  4. Ciko

    Book "Primer C"; advice needed

    Ciko, Feb 14, 2006, in forum: C Programming
    Replies:
    1
    Views:
    339
    Default User
    Feb 14, 2006
  5. Michael Randrup
    Replies:
    3
    Views:
    323
    Henning Krause [MVP]
    Mar 27, 2006
Loading...

Share This Page