diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-12-04 15:24:01 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-12-04 15:24:01 +0100 |
commit | d19ed4d4e69f51873135f05a51831d25ecc2071e (patch) | |
tree | 74dfd9af2b0f4a6c0933266c50ceaa569d388c71 /docs/content/en/about/security-model.md | |
parent | 9f978d387f8b7cb6bc03fe6b4dd52bb16862a784 (diff) | |
parent | 35dec7c96f7ee3eb17dd444f7067f0c776fb56ae (diff) |
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
Diffstat (limited to 'docs/content/en/about/security-model.md')
-rw-r--r-- | docs/content/en/about/security-model.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/en/about/security-model.md b/docs/content/en/about/security-model.md index 3b93167ab..af1dd7d75 100644 --- a/docs/content/en/about/security-model.md +++ b/docs/content/en/about/security-model.md @@ -1,15 +1,15 @@ --- title: Hugo's security model description: A summary of Hugo's security model. -layout: single -keywords: ["Security", "Privacy"] +categories: [about] +keywords: [security,privacy] menu: docs: parent: about weight: 50 weight: 50 -aliases: [/security/] toc: true +aliases: [/security/] --- ## Runtime security @@ -31,7 +31,7 @@ Hugo has a built-in security policy that restricts access to [os/exec](https://p The default configuration is listed below. Any build using features not in the allow list of the security policy will fail with a detailed message about what needs to be done. Most of these settings are allow lists (string or slice, [Regular Expressions](https://pkg.go.dev/regexp) or `none` which matches nothing). -{{< code-toggle config="security" />}} +{{< code-toggle config=security />}} Note that these and other configuration settings in Hugo can be overridden by the OS environment. If you want to block all remote HTTP fetching of data: |