Skip to content

Commit c1a1626

Browse files
committed
[best practice] security.rst の序文を修正
1 parent 4e5ca54 commit c1a1626

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

best_practices/security.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,27 @@
22
Security
33
========
44

5-
認証とファイアウォール (i.e. Getting thw User's Credentials)
5+
認証とファイアウォール (i.e. ユーザの権限情報を取得する)
66
Authentication and Firewalls (i.e. Getting the User's Credentials)
77
------------------------------------------------------------------
88

9-
10-
思いのままの手段と様々なデータソースからユーザ情報をロードしユーザの認証を Symfony に
11-
設定することができます。
12-
とても難解なテーマですが、`Security Cookbook Section`_ には
13-
これについてのたくさんの情報が記載されています。
14-
15-
``security.yml`` の初期設定の ``firewalls`` キーの下に認証を設定します。
16-
9+
ユーザが期待する様々なメソッドを使い様々なデータソースからユーザ情報をロードするように
10+
Symfony に認証を設定することができます。
11+
セキュリティはとても難解なテーマですが、`Security Cookbook Section`_ に
12+
多くの情報が記載されています。
1713

1814
You can configure Symfony to authenticate your users using any method you
1915
want and to load user information from any source. This is a complex topic,
2016
but the `Security Cookbook Section`_ has a lot of information about this.
2117

18+
まずは要件にこだわらず ``security.yml`` の初期設定の ``firewalls`` キーの下に認証を設定してみます。
19+
2220
Regardless of your needs, authentication is configured in ``security.yml``,
2321
primarily under the ``firewalls`` key.
2422

2523
.. best-practice::
2624

27-
正規に許可された2つのことなる認証システムとユーザが無い限り
25+
正規に許可された2つの異なる認証システムとユーザが無い限り
2826
(e.g. メインとなるサイトと API のためだけのトークンシステムのためのログイン)、
2927
``anonymous`` のキーを有効にしたたったひとつのファイヤーウォールを設けることを推奨します。
3028

@@ -36,7 +34,7 @@ primarily under the ``firewalls`` key.
3634

3735
ほとんどのアプリケーションで認証システムとユーザのセットはひとつしかありません。
3836
このため、ひとつのファイヤーウォールの設定だけで事足ります。
39-
もちろん サイトの API と WEB を分けたいときなどの例外もありますが
37+
もちろんサイトの API と WEB を分けたい場合などの例外もありますが
4038
シンプルに考えていくことが重要です。
4139

4240
Most applications only have one authentication system and one set of users.

0 commit comments

Comments
 (0)