-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start a section on security considerations, primarily for those not u…
…sing OpenConext-deploy
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Security measures for Engineblock | ||
|
||
## HTTP Headers | ||
|
||
HTTP Headers are set not by Engineblock itself so the deployer needs to set these in | ||
the webserver that serves the EB requests. | ||
|
||
We recommend at least: | ||
* Strict-Transport-Security: max-age=<high enough value> | ||
* X-Content-Type-Options: nosniff | ||
* X-Frame-Options: DENY | ||
* Content-Security-Policy: TODO | ||
|
||
## PHP settings | ||
|
||
We recommend to set `disable_functions` to: | ||
|
||
``` | ||
exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority` | ||
``` | ||
|
||
This is of relevance specifically to limit the scope of what Attribute Manipulations | ||
(which are PHP code) are able to accomplish. |