Can you please let me know what are differences between DirectoryStream and SecureDirectoryStream?
Alan Bateman
Alan.Bateman at oracle.com
Mon Aug 30 03:42:52 PDT 2010
Sarah kho wrote:
> Hi,
>
> I am wondering what are differences between DirectoryStream and
> SecureDirectoryStream in Java 7. Does it read encrypted content or it
> prevent some operations?
>
>
> Thanks.
A SecureDirectoryStream is a DirectoryStream and just extends it with
operations that can be done relative to the directory rather than the
current working directory. The primary motive is to help security
sensitive applications that would otherwise be exposed to race
conditions. It's nothing to do with encrypted files.
-Alan
More information about the nio-discuss
mailing list