Checking file permissions for a specified user account in Java -


i'm running java application windows service , using java application, executed user, set directory used windows service application.

is there way in java determine file permissions of directory user? in case, want know file permissions of windows service application while running separate java application executed user.

this kind of filesystem support not available in standard java, because java cross-platform , filesystem security differs across platforms (or may not exist @ all). however, there plans add support java 7 (which have been waiting years get!)

if using on windows , know c/c++, can use jni (java native interface) jna tap windows dlls , information. otherwise, can trial or paid version of jniwrapper works out-of-the-box. i'm not sure if provides support file security, provide other filesystem support - you'll need review feature list.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -