mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
18 lines
505 B
Markdown
18 lines
505 B
Markdown
|
## Permissions
|
||
|
|
||
|
Deno is secure by default. Therefore,
|
||
|
unless you specifically enable it, a
|
||
|
program run with Deno has no file,
|
||
|
network, or environment access. Access
|
||
|
to security sensitive functionality
|
||
|
requires that permisisons have been
|
||
|
granted to an executing script through
|
||
|
command line flags, or a runtime
|
||
|
permission prompt.
|
||
|
|
||
|
For the following example `mod.ts` has
|
||
|
been granted read-only access to the
|
||
|
file system. It cannot write to the file
|
||
|
system, or perform any other security
|
||
|
sensitive functions.
|