[10] [CODE(HTTP)@en[[[Prefer:]] [DFN[[[safe]]]]]] は、
「[[安全]]」な内容を返すことを求める[[好み字句]]です。

[11] ここでいう「安全」とは、成人向けコンテンツの類でないことを指しています。

* 仕様書

[REFS[
- [9] [CITE@en[draft-nottingham-safe-hint-05 - The "safe" HTTP Preference]] ([TIME[2014-10-16 12:23:32 +09:00]] 版) <http://tools.ietf.org/html/draft-nottingham-safe-hint-05>
]REFS]

* プライバシー

[18] [CODE(HTTP)@en[Prefer: safe]] を指定することで[[子供]]がアクセスしている (可能性が高い)
と[[サーバー]]に敢えて伝えることになり、好ましくない [SRC[>>16]] ともいわれています。

* 関連

[12] [[HTTP]] の[[安全なメソッド]]における「安全」とは関係ありません。

[13] また[[セキュリティー]]の意味での「安全」とも関係ありません。

[14] [[RFC 7240]] は [CODE(HTTP)@en[[[Prefer:]]]] を[[内容折衝]]に使うべきではないとしていますが、
[CODE(HTTP)@en[[[Prefer: safe]]]] はまさに[[内容折衝]]の一種のように思えます。

* 実装

[19] [[Firefox]] と [[IE]] が対応しています。

* 歴史

[1] [CITE@en-US[Prefer:Safe — Making Online Safety Simpler in Firefox | Mozilla Privacy Blog]]
( ([TIME[2014-07-25 04:46:15 +09:00]] 版))
<https://blog.mozilla.org/privacy/2014/07/22/prefersafe-making-online-safety-simpler-in-firefox/>

[2] [CITE@en[Internet Explorer @ IETF 90 - IEBlog - Site Home - MSDN Blogs]]
( ([TIME[2014-07-25 04:46:39 +09:00]] 版))
<http://blogs.msdn.com/b/ie/archive/2014/07/20/internet-explorer-ietf-90.aspx>

[3] [CITE@en[draft-nottingham-safe-hint-02 - The "safe" HTTP Preference]]
( ([TIME[2014-05-30 16:59:09 +09:00]] 版))
<http://tools.ietf.org/html/draft-nottingham-safe-hint-02>

[4] [CITE@en[Chrome Web Store - Enable prefer: safe HTTP Header]]
( ([TIME[2014-07-25 04:47:36 +09:00]] 版))
<https://chrome.google.com/webstore/detail/enable-prefer-safe-http-h/afojhejoedoiflpbbeaoenjdmibfebkj>

[5] [CITE[「いかがわしい」サイトを避ける Prefer: Safe HTTPヘッダ - Qiita]]
( ([TIME[2014-07-25 04:48:13 +09:00]] 版))
<http://qiita.com/irxground/items/9c4fa7ad146ce93bdf3b>

[6] [CITE[Issue 353025 - chromium - Add support for industry-standard Safe Search - An open-source project to help move the web forward. - Google Project Hosting]]
( ([TIME[2014-07-25 04:50:06 +09:00]] 版))
<https://code.google.com/p/chromium/issues/detail?id=353025>

[7] [CITE@ja-JP[11 の Internet Explorer と Internet Explorer 10 で安全な環境の新機能をサポートするために更新します。]]
( ([TIME[2014-07-25 04:58:42 +09:00]] 版))
<http://support.microsoft.com/kb/2980016>

[8] [CITE@eng-US[Filtering Explicit Content]]
( ([TIME[2014-10-27 10:02:36 +09:00]] 版))
<http://blogs.cisco.com/security/filtering-explicit-content>

[15] [CITE[Update to support a new safe preference feature in Internet Explorer 11 and Internet Explorer 10]]
([TIME[2015-08-28 22:03:45 +09:00]] 版)
<https://support.microsoft.com/en-us/kb/2980016>

[FIG(quote)[
[FIGCAPTION[
[16] [CITE[Prefer:safe is bad]]
([TIME[2014-08-26 13:17:54 +09:00]])
<https://prefersafe.github.io/>
]FIGCAPTION]

> Prefer:safe is a new misfeature in Firefox and Internet Explorer that is supposed to make Web “safer” for “young users and family members whose needs related to trust and safety may differ”. 

]FIG]


[17] [CITE@en[prefersafe]]
([TIME[2016-12-19 23:30:05 +09:00]])
<https://github.com/prefersafe/>

[20] [[DNT]] みたいに誰も使わなそう、って思ってたけど10年たって実際そうだったね。今の今まで実装されてることすら忘れてたくらいにw [TIME[2025-12-04T03:06:38.155Z]]