Can I access the filesystem with Google NaCl? Can I access the filesystem with Google NaCl? google-chrome google-chrome

Can I access the filesystem with Google NaCl?


Due to security restrictions, NaCl doesn't allow you to just open up any folder on the disk.

It does, however, grant the ability to access a sandboxed, obfuscated filesystem.

You can check out the PONG example in the latest SDK for examples of how to use the FileSystemAPI.

In addition, this page is a good starting point to understanding how the file system works:https://developers.google.com/native-client/beta-docs/fileIO

~Main


Yes, but this access is supposedly secure and only able to access a sandboxed file system. Apparently you'll be able to do mmap calls, even. What could go wrong? :-)

Beyond any data files that come with the download, additional disk quota is an "app privilege" you have to "approve" when you install something. It can range from 0 to unlimited.