Skip to content

Commit 7c79a81

Browse files
authored
Merge pull request #224 from righettod/master
Several updates.
2 parents a60ec09 + 5032adf commit 7c79a81

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

β€Žtab_bestpractices.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following section proposes a configuration for the [actively supported and w
3333

3434
🚩 The header `Clear-Site-Data` will cause the browser to take additional processing time for the HTTP response, so, set it to the logout function when possible.
3535

36-
πŸ”¬ For the header `Permissions-Policy`, as it is currently only supported by [Chromium based browsers](https://caniuse.com/permissions-policy), the proposed value was generated with this [site](https://www.permissionspolicy.com/) and tested against the version `128.0.6606.0` of [Chromium](https://chromium.woolyss.com/download/en/) to only specify supported features.
36+
πŸ”¬ For the header `Permissions-Policy`, as it is currently only supported by [Chromium based browsers](https://caniuse.com/permissions-policy), the proposed value was generated with this [site](https://www.permissionspolicy.com/) and tested against the version `137.0.7124.0` of [Chromium](https://chromium.woolyss.com/download/en/) to only specify supported features.
3737

3838
πŸ’‘ Content of the table below is also provided, as JSON, via this [file](ci/headers_add.json) (automatically updated).
3939

β€Žtab_headers.mdβ€Ž

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,16 +446,18 @@ The Permissions-Policy header replaces the existing **Feature-Policy** header fo
446446
### Example
447447

448448
```
449-
Permissions-Policy: accelerometer=(),ambient-light-sensor=(),autoplay=(),battery=(),camera=(),display-capture=(),document-domain=(),encrypted-media=(),fullscreen=(),gamepad=(),geolocation=(),gyroscope=(),layout-animations=(self),legacy-image-formats=(self),magnetometer=(),microphone=(),midi=(),oversized-images=(self),payment=(),picture-in-picture=(),publickey-credentials-get=(),speaker-selection=(),sync-xhr=(self),unoptimized-images=(self),unsized-media=(self),usb=(),screen-wake-lock=(),web-share=(),xr-spatial-tracking=()
449+
Permissions-Policy: accelerometer=(), autoplay=(), camera=(), cross-origin-isolated=(), display-capture=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(self), usb=(), web-share=(), xr-spatial-tracking=(), clipboard-read=(), clipboard-write=(), gamepad=(), hid=(), idle-detection=(), interest-cohort=(), serial=(), unload=()
450450
```
451451

452452
### References
453453

454454
* <https://github.com/w3c/webappsec-permissions-policy/blob/main/permissions-policy-explainer.md>
455-
* <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy#directives>
456455
* <https://caniuse.com/permissions-policy>
457-
* <https://www.w3.org/TR/permissions-policy-1/>
458456
* <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy>
457+
* <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy#directives>
458+
* <https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy>
459+
* <https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy#directives>
460+
* <https://www.w3.org/TR/permissions-policy-1/>
459461
* <https://www.chromestatus.com/feature/5745992911552512>
460462
* <https://www.permissionspolicy.com/>
461463

β€Žtab_technical.mdβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tags: headers
2121
* [PHP](#php)
2222
* [Python](#python)
2323
* [Ruby](#ruby)
24-
* [Rust](#rust)
24+
* [Swift](#swift)
2525

2626
## Presentations
2727

@@ -34,10 +34,10 @@ tags: headers
3434
| --- | --- | --- |
3535
| **hsecscan** | A security scanner for HTTP response headers. | [πŸ‘©β€πŸ’»](https://github.com/riramar/hsecscan) |
3636
| **humble** | A humble, and fast, security-oriented HTTP headers analyzer. | [πŸ‘©β€πŸ’»](https://github.com/rfc-st/humble) |
37-
| **Mozilla Observatory** | A Mozilla project designed to help developers, system administrators, and security professionals configure their sites safely and securely. | [🌎](https://observatory.mozilla.org/) / [πŸ‘©β€πŸ’»](https://github.com/mozilla/http-observatory/) / [πŸ‘©β€πŸ’»](https://github.com/mozilla/http-observatory-website/) |
3837
| **testssl.sh** | Easy to use shell script which tests not only SSL/TLS encryption but also checks common headers and analyzes those. Output is screen, JSON, CSV and HTML. | [πŸ‘©β€πŸ’»](https://github.com/drwetter/testssl.sh) |
3938
| **DrHEADer** | DrHEADer helps with the audit of security headers received in response to a single request or a list of requests. | [πŸ‘©β€πŸ’»](https://github.com/Santandersecurityresearch/DrHeader) |
4039
| **csp-evaluator** | NPM module allowing developers and security experts to check if a Content Security Policy serves as a strong mitigation against XSS attacks. | [πŸ‘©β€πŸ’»](https://github.com/google/csp-evaluator) |
40+
| **mdn-http-observatory** | Service by Mozilla that checks web sites for security-relevant headers. | [πŸ‘©β€πŸ’»](https://github.com/mdn/mdn-http-observatory) |
4141

4242
## Development Libraries
4343

@@ -51,7 +51,7 @@ tags: headers
5151

5252
| Library | Description | Ref |
5353
| --- | --- | --- |
54-
| **NWebsec** | NWebsec consists of several security libraries for ASP.NET applications. | [🌎](https://docs.nwebsec.com) |
54+
| **NWebsec** | NWebsec consists of several security libraries for ASP.NET applications. | [πŸ‘©β€πŸ’»](https://github.com/NWebsec/NWebsec) |
5555
| **NetEscapades.AspNetCore.SecurityHeaders** | Small package to allow adding security headers to ASP.NET Core websites. | [πŸ‘©β€πŸ’»](https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders) |
5656
| **OwaspHeaders.Core** | .NET Core middleware for injecting the OWASP recommended HTTP Headers for increased security | [πŸ‘©β€πŸ’»](https://github.com/GaProgMan/OwaspHeaders.Core) |
5757

@@ -90,8 +90,8 @@ tags: headers
9090
| --- | --- | --- |
9191
| **secure** | HTTP middleware for Go that facilitates some quick security wins. | [πŸ‘©β€πŸ’»](https://github.com/unrolled/secure) |
9292

93-
### Rust
93+
### Swift
9494

9595
| Library | Description | Ref |
9696
| --- | --- | --- |
97-
| **owasp-headers** | Best-practice OWASP HTTP response headers for Rust. | [🌎](https://docs.rs/crate/owasp-headers/latest) |
97+
| **VaporSecurityHeaders** | A Middleware library for adding security headers to your Vapor application. | [πŸ‘©β€πŸ’»](https://github.com/brokenhandsio/VaporSecurityHeaders) |

0 commit comments

Comments
Β (0)