PHP-Deno

PermissionsOptions
in package

Table of Contents

Properties

$allow_env  : mixed
Allow environment access for things like getting and setting of environment variables. You can specify a list of environment variables to provide an allow-list of allowed environment variables. Pass an empty array to allow all.
$allow_ffi  : mixed
Allow loading of dynamic libraries. Be aware that dynamic libraries are not run in a sandbox and therefore do not have the same security restrictions as the Deno process. Therefore, use with caution.
$allow_hrtime  : mixed
Allow high-resolution time measurement. High-resolution time can be used in timing attacks and fingerprinting.
$allow_net  : mixed
Allow network access. You can specify an optional list of IP addresses or hostnames (optionally with ports) to provide an allow-list of allowed network addresses. Pass an empty array to allow all.
$allow_read  : mixed
Allow file system read access. You can specify an optional list of directories or files to provide an allow-list of allowed file system access. Pass an empty array to allow all.
$allow_run  : mixed
Allow running subprocesses. You can specify an optional list of subprocesses to provide an allow-list of allowed subprocesses.
$allow_write  : mixed
Allow file system write access. You can specify an optional list of directories or files to provide an allow-list of allowed file system access. Pass an empty array to allow all.

Methods

__construct()  : mixed

Properties

$allow_env

Allow environment access for things like getting and setting of environment variables. You can specify a list of environment variables to provide an allow-list of allowed environment variables. Pass an empty array to allow all.

public mixed $allow_env

$allow_ffi

Allow loading of dynamic libraries. Be aware that dynamic libraries are not run in a sandbox and therefore do not have the same security restrictions as the Deno process. Therefore, use with caution.

public mixed $allow_ffi

$allow_hrtime

Allow high-resolution time measurement. High-resolution time can be used in timing attacks and fingerprinting.

public mixed $allow_hrtime

$allow_net

Allow network access. You can specify an optional list of IP addresses or hostnames (optionally with ports) to provide an allow-list of allowed network addresses. Pass an empty array to allow all.

public mixed $allow_net

$allow_read

Allow file system read access. You can specify an optional list of directories or files to provide an allow-list of allowed file system access. Pass an empty array to allow all.

public mixed $allow_read

$allow_run

Allow running subprocesses. You can specify an optional list of subprocesses to provide an allow-list of allowed subprocesses.

public mixed $allow_run

Be aware that subprocesses are not run in a sandbox and therefore do not have the same security restrictions as the Deno process. Therefore, use with caution. Pass an empty array to allow all.

$allow_write

Allow file system write access. You can specify an optional list of directories or files to provide an allow-list of allowed file system access. Pass an empty array to allow all.

public mixed $allow_write

Methods


        
On this page

Search results