non file system based implementation of nio.file
Alan Bateman
Alan.Bateman at Sun.COM
Mon Jun 16 07:04:28 PDT 2008
Rémi Forax wrote:
> accessing files by id (or inode) at user level wil not bypass security
> which is directory based ?
>
> Rémi
If you mean the operating system might allow the security to be bypassed
then it would indeed be a serious bug :-) When accessing files by
FileId on NTFS then the file's access control list is checked. In the
pre-Darwin days I believe files on HFS+ were addressed by file IDs but
I'm not familiar with that environment to know how the security worked.
But perhaps you mean a security manager? In that case then a mapping to
the name space would be desirable to make configuring the security
policy usable and consistent.
-Alan.
More information about the nio-dev
mailing list