add_path_to_sandbox
Description:
Adds a path to be mounted in the sandbox.
path
must exist before any web process has been created; otherwise, it will be silently ignored. It is a fatal error to add paths
after a web process has been spawned.
Paths under `/sys`, `/proc`, and `/dev` are invalid. Attempting to add all of `/` is not valid. Since 2.40, adding the user's entire home directory or /home is also not valid.
See also webkit_web_context_set_sandbox_enabled
Parameters:
this | |
path |
an absolute path to mount in the sandbox |
read_only |
if true the path will be read-only |