Skip to content

Commit

Permalink
Merge branch 'ory:master' into fix-5050/update-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sashatalalasha authored Aug 9, 2023
2 parents d446f4d + e8aa6ed commit c1480d4
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 24 deletions.
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/docs/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description: "A clear and concise description of what the bug is."
label: "Describe the bug"
Expand Down
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/DESIGN-DOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/docs/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description: |
This section gives the reader a very rough overview of the landscape in which the new system is being built and what is actually being built. This isn’t a requirements doc. Keep it succinct! The goal is that readers are brought up to speed but some previous knowledge can be assumed and detailed info can be linked to. This section should be entirely focused on objective background facts.
Expand Down
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/docs/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description:
"Is your feature request related to a problem? Please describe."
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/integrate-auth/25_react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import webm from '../_static/react/screencast.webm'
First we create a new React project:

```shell-session
npx create-react-app my_project --typescript
npx create-react-app my_project --template typescript
cd my_project
```

Expand Down
Empty file removed docs/hydra/self-hosted/tracing.mdx
Empty file.
50 changes: 33 additions & 17 deletions docs/kratos/concepts/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,60 @@ analyzing threats and implementing security measures for Ory Identities.
Working with and managing software that stores personal information carries risk. It's important to identify threats and
understand the system's attack surface, the likelihood, and the impact of an attack.

In the case of Ory Identities, threats could include hackers or malicious insiders who may try to steal or manipulate personal
information. To protect against these threats, it's important to properly configure Ory and implement appropriate security
measures, such as strong authentication and access controls. Regular monitoring and timely response to security incidents are also
crucial.
Regarding Ory Identities, threats could include hackers or malicious insiders who may try to steal or manipulate personal
information. To protect against these threats, it's important to implement appropriate security measures, such as strong
authentication and access controls. Regular monitoring and quick response to security incidents are also crucial. When using Ory
Network, defenses are provided as part of the platform's security infrastructure. For self-hosted instances of Ory Kratos Identity
Server, reach out to [Ory Support](https://www.ory.sh/support/).

## Digital identity guidelines

There is no universally accepted standard for digital identity.
No universally accepted standard for digital identity exists.
Ory follows [Digital Identity Guidelines](https://pages.nist.gov/800-63-3/) established by the
[National Institute of Standards and Technology (NIST)](https://www.nist.gov/).
These guidelines are accompanied by a [FAQ](https://pages.nist.gov/800-63-3/) that provides additional information and answers to
common questions.
These guidelines are accompanied by a [FAQ](https://pages.nist.gov/800-63-3/) that provides answers to common questions.

## Defenses against bots and automated attacks

Ory Network takes a proactive approach to combat bot and other automated attacks with bot detection and suspicious IP throttling.
To detect bots and throttle suspicious IPs, Ory Network leverages the
[Cloudflare Web Application Firewall (WAF)](https://www.cloudflare.com/en-gb/application-services/products/waf/) and
[Cloudflare Bot Management](https://www.cloudflare.com/en-gb/application-services/products/bot-management/) services. These
features are built into Ory Network and allow Ory to defend against automated threats without burdening users with unfriendly
CAPTCHAs, IP throttling, rate limiting, and IP blocking.

When using Ory Network, these automated attack defenses are provided as part of the platform's security infrastructure. For
self-hosted instances of Ory Kratos Identity Server, it's the responsibility of the administrator to implement and manage
appropriate measures to maintain a secure environment. Reach out to [Ory Support](https://www.ory.sh/support/) for help with this
task.

## Defenses against brute-force attacks

Ory Network provides Ory Identities with protection against brute-force attacks by rate limiting requests to API public endpoints,
for example login and registration endpoints.

When self-hosting the Ory Kratos Identity Server, it's the responsibility of the administrator to implement and manage rate
limiting or other measures to ensure the security of the network.
When using Ory Network, these defenses are provided as part of the platform's security infrastructure. When self-hosting the Ory
Kratos Identity Server, it's the responsibility of the administrator to implement and manage rate limiting or other measures to
ensure the security of the network. Reach out to [Ory Support](https://www.ory.sh/support/) for help with this task.

## Defenses against cross-site request forgery

Cross-site request forgery (CSRF or XSRF) is a type of attack where a malicious site tricks a user's browser into sending a
request to another site without user consent. This can occur even without a user session in a
Cross-site request forgery (CSRF or XSRF) is an attack where a malicious site tricks a user's browser into sending a request to
another site without user consent. This can occur even without a user session in a
[login CSRF](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#login-csrf)
attack. In the context of Ory Identities, it is an attack vector that can be exploited to gain unauthorized access to a user
attack. In the context of Ory Identities, it's an attack vector that can be exploited to gain unauthorized access to a user
account or perform actions on their behalf.

To protect against these attacks, Ory Identities uses multiple countermeasures, including the
[`sameSite`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite) attribute as well as a dedicated
anti-CSRF cookie using the
To protect against these attacks, Ory Identities uses various countermeasures, including the
[`sameSite`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite) attribute and a dedicated anti-CSRF
cookie using the
[synchronizer token pattern](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#synchronizer-token-pattern).
The protected APIs are mainly the endpoints that accept the `POST`, `DELETE`, or `PUT` methods. For example, when an app renders a
form, a `<input type="hidden" name="csrf_token" value="...">` HTML input element is added. Ory Identities compares that value to
the value set in the anti-CSRF cookie. If the values match, the request is allowed.

## Password policy

To learn more about setting up a secure password policy, refer to the [password policy page](../../concepts/password-policy.mdx)
for instructions and best practices.
By default Ory uses a password policy that follows the [Digital Identity Guidelines](https://pages.nist.gov/800-63-3/) established
by the [National Institute of Standards and Technology (NIST)](https://www.nist.gov/). To learn more about configuring up a
password policy, refer to the [password policy page](../../concepts/password-policy.mdx) for instructions and best practices.
1 change: 1 addition & 0 deletions src/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ module.exports = {
"kratos/self-hosted/mfa",
"kratos/guides/setting-up-cors",
"kratos/self-hosted/account-activation-email-verification",
"self-hosted/kratos/configuration/oidc",
"kratos/guides/setting-up-password-hashing-parameters",
"kratos/guides/select-cipher-algorithm",
"kratos/reference/configuration-editor",
Expand Down
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,11 @@
"source": "/docs/cli",
"destination": "/docs/guides/cli/installation",
"permanent": false
},
{
"source": "/docs/hydra/self-hosted/tracing",
"destination": "/docs/self-hosted/operations/tracing",
"permanent": false
}
]
}

0 comments on commit c1480d4

Please sign in to comment.