Skip to content

Commit 76f0b2e

Browse files
authored
Explicit powered-by instructions
1 parent 032bdef commit 76f0b2e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/infrastructure_and_maintenance/security/security_checklist.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,18 @@ Reduce your attack surface by exposing only what you must.
117117

118118
- If possible, make the back office unavailable on the open internet.
119119
- [Symfony FOSJsRoutingBundle](https://github.com/FriendsOfSymfony/FOSJsRoutingBundle) is required in those releases where it's included, to expose routes to JavaScript. It exposes only the required routes, nothing more. It's only required in the back office SiteAccess though, so you can consider blocking it in other SiteAccesses. You should also go through your own custom routes, and decide for each if you need to expose them or not. See the documentation on [YAML route definitions for exposure](https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/master/Resources/doc/usage.rst#generating-uris).
120-
- By default, a [Powered-By header](https://doc.ibexa.co/en/latest/update_and_migration/from_1.x_2.x/update_db_to_2.5/#powered-by-header) is set. It specifies what version of the DXP is running. For example, `x-powered-by: [[= product_name_exp =]] v4`. This doesn't expose anything that couldn't be detected through other means. But if you wish to obscure this, you can either omit the version number, or disable the header entirely.
120+
- By default, a [Powered-By header](https://doc.ibexa.co/en/latest/update_and_migration/from_1.x_2.x/update_db_to_2.5/#powered-by-header) is set. It specifies what version of the DXP is running. For example, `x-powered-by: [[= product_name_exp =]] v4`. This doesn't expose anything that couldn't be detected through other means. But if you wish to obscure this, you can either omit the version number, or disable the header entirely by setting `enabled: false`.
121+
122+
```yaml
123+
ibexa_system_info:
124+
system_info:
125+
powered_by:
126+
# major => v4 || minor => v4.6 || none
127+
release: major
128+
# true || false
129+
enabled: false
130+
```
131+
121132
- Consider whether certain interfaces must be left available on the open internet. For example:
122133
- The `/search` and `/graphql` endpoints
123134
- The REST API endpoints

0 commit comments

Comments
 (0)