From c432022582e60634da6347743258d82106ebbf26 Mon Sep 17 00:00:00 2001 From: QuentinN42 Date: Fri, 24 Feb 2023 18:53:12 -0800 Subject: [PATCH] docs: start secu Signed-off-by: QuentinN42 --- docs/index.rst | 1 + docs/security/index.rst | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 docs/security/index.rst diff --git a/docs/index.rst b/docs/index.rst index 05b7fd87..d0297d85 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,6 +10,7 @@ Contents: types/index execution/index relay/index + security/index testing/index api/index diff --git a/docs/security/index.rst b/docs/security/index.rst new file mode 100644 index 00000000..744b39ab --- /dev/null +++ b/docs/security/index.rst @@ -0,0 +1,10 @@ +====================== +Security consideration +====================== + +It is crucial to follow security best practices while deploying a GraphQL application to production. +GraphQL APIs are inherently prone to various security risks, but they can be reduced by taking appropriate precautions. +Neglecting to do so can expose the API to vulnerabilities like credential leakage or denial of service attacks. + + +In this section, we will discuss the most common security risks and how to mitigate them.