File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ Security considerations
2+ =======================
3+
4+ Authentication and Authorization are quite security relevant topics on its own.
5+ Make sure you understand SAML2 and its implications, specifically the
6+ separation of duties between Service Provider (SP) and Identity Provider (IdP):
7+ This Library aims to support a Service Provider in running Authentication
8+ against one or more IdP.
9+
10+ Communication between SP and IdP is routed via the Browser, eliminating the
11+ need for direct communication between SP and IdP. However, for security the use
12+ of cryptographic signatures (both while sending and receiving messages) must be
13+ examined and the private keys in use must be kept closely guarded.
14+
15+ When using POST-Bindings, the Browser is presented with a small HTML-Form for
16+ every redirect (both Login and Logout), which is sent using JavaScript and
17+ sends the Data to the selected IdP. If your application uses technices such as
18+ Content Security Policy, this might affect the calls. Since Version 1.9.0
19+ djangosaml2 will detect if django-csp is installed and update the Content
20+ Security Policy accordingly.
Original file line number Diff line number Diff line change @@ -41,3 +41,9 @@ under the `Apache 2.0 <https://en.wikipedia.org/wiki/Apache_License>`_.
4141 :caption: FAQ
4242
4343 contents/faq.md
44+
45+ .. toctree ::
46+ :maxdepth: 2
47+ :caption: Security considerations
48+
49+ contents/security.md
You can’t perform that action at this time.
0 commit comments