{"id":285,"date":"2018-03-31T17:25:48","date_gmt":"2018-03-31T08:25:48","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=285"},"modified":"2023-05-28T08:23:26","modified_gmt":"2023-05-27T23:23:26","slug":"%e3%80%90web%e3%82%bb%e3%82%ad%e3%83%a5%e3%83%aa%e3%83%86%e3%82%a3%e3%80%91%e8%aa%8d%e8%a8%bc%e3%81%ae%e7%a8%ae%e9%a1%9e%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=285","title":{"rendered":"\u3010Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3011\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u306e\u7a2e\u985e\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>Web\u30a2\u30d7\u30ea\u306e\u30ed\u30b0\u30a4\u30f3\u3067\u4f7f\u308f\u308c\u308b\u8a8d\u8a3c\u306b\u3082\u8272\u3005\u7a2e\u985e\u304c\u3042\u308b\u306e\u3067\u5206\u985e\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>Basic\u8a8d\u8a3c<\/h2>\n<p>Apache\u7b49\u306eWeb\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3067\u3001\u8a72\u5f53\u306e\uff28\uff34\uff2d\uff2c\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306b\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u3067\u8a8d\u8a3c\u3092\u51fa\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>Basic\u8a8d\u8a3c\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304c<span style=\"color: #ff0000;\"><strong>\u30d7\u30ec\u30a4\u30f3\u30c6\u30ad\u30b9\u30c8<\/strong><\/span>\u3067\u9001\u4fe1\u3055\u308c\u308b\u305f\u3081\u3001\u508d\u53d7\u3055\u308c\u308b\u3068\u6210\u308a\u3059\u307e\u3057\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u70b9\u3002<\/p>\n<h2>Digest\u8a8d\u8a3c<\/h2>\n<p>\u3053\u308c\u3082\u3001Basic\u8a8d\u8a3c\u3068\u4f3c\u3066\u3044\u3066\u3001Apache\u7b49\u306eWeb\u30b5\u30fc\u30d0\u30fc\u306e\u6a5f\u80fd\u3067\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Basic\u8a8d\u8a3c\u3068\u306e\u9055\u3044<\/h3>\n<p>\u6d41\u308c\u308b\u60c5\u5831\u3092\u30d7\u30ec\u30a4\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u306f\u306a\u304f\u3001<span style=\"color: #ff0000;\"><strong>MD5\u3067\u6697\u53f7\u5316<\/strong><\/span>\u3057\u3066\u304b\u3089\u6d41\u3059\u306e\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\uff08\u30bb\u30c3\u30b7\u30e7\u30f3\u8a8d\u8a3c\u3001\u30af\u30c3\u30ad\u30fc\u8a8d\u8a3c\u7b49\u3068\u3082\u547c\u3076\u3002\uff09<\/h2>\n<p>HTML\u4e0a\u3067\u3001ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3055\u305b\u308b\u8a8d\u8a3c\u306e\u3053\u3068\u3067\u3059\u3002\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u306f\u3001\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u3066\u304a\u3044\u3066\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30cf\u30c3\u30b7\u30e5\u5316\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u3082\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"FDZKOJiuWm\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=2236\">\u3010Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3011\u30cf\u30c3\u30b7\u30e5\u95a2\u6570(digest)\u3001\u5b9f\u88c5\u65b9\u6cd5\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u904b\u7528\u306b\u3064\u3044\u3066<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=2236&#038;embed=true#?secret=FDZKOJiuWm\" data-secret=\"FDZKOJiuWm\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3011\u30cf\u30c3\u30b7\u30e5\u95a2\u6570(digest)\u3001\u5b9f\u88c5\u65b9\u6cd5\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u904b\u7528\u306b\u3064\u3044\u3066&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><span style=\"color: #ff0000;\"><strong>Web\u30a2\u30d7\u30ea\u3067\u306f\u3001\u3053\u308c\u3092\u4f7f\u7528\u3057\u305f\u8a8d\u8a3c\u304c\u975e\u5e38\u306b\u591a\u3044<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h3>\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u306e\u51e6\u7406\u306e\u6d41\u308c<\/h3>\n<p>\u30ed\u30b0\u30a4\u30f3\u306e\u72b6\u614b\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u3057\u3066\u4fdd\u6301\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u306f\u30af\u30c3\u30ad\u30fc\u306b\u30bb\u30c3\u30b7\u30e7\u30f3ID\u3092\u4fdd\u6301\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u4ee5\u964d\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u30bb\u30c3\u30b7\u30e7\u30f3ID\u3092\u542b\u3081\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3046<\/strong><\/span>\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u968f\u6642\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u30bb\u30c3\u30b7\u30e7\u30f3ID\u306e\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3066\u3001\u623b\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u305f\u5834\u5408\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u30b5\u30fc\u30d0\u30fc\u5074\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u305d\u308c\u305e\u308c\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u7834\u68c4<\/strong><\/span>\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u5229\u7528\u8005\u60c5\u5831\u306e\u4fdd\u6301\u306b\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u6d3b\u7528\u3059\u308b\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5\u3057\u3066\u304b\u3089\u3001\u7d42\u4e86\u3059\u308b\u307e\u3067\u8ab0\u304c\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u7c21\u5358\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u70b9\u3002<\/p>\n<h3>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>Web\u30b5\u30fc\u30d0\u30fc\u304c\u8907\u6570\u53f0\u306b\u5206\u304b\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d0\u30fc\u9593\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u72b6\u614b\u306e\u540c\u671f\u304c\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081\u5b9f\u88c5\u304c\u96e3\u3057\u304f\u306a\u308b\u70b9\u3067\u3059\u3002<\/p>\n<h2>SSL\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c<\/h2>\n<p>SSL\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a3c\u660e\u66f8\u3092\u7528\u3044\u308b\u8a8d\u8a3c\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u30c8\u30fc\u30af\u30f3\u8a8d\u8a3c<\/h2>\n<p>\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u306e\u591a\u304f\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u3067\u306f\u306a\u304f\u3001\u30c8\u30fc\u30af\u30f3\u8a8d\u8a3c\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30fc\u30af\u30f3\u8a8d\u8a3c\u3067\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u306e\u3088\u3046\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u7ba1\u7406\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u751f\u6210\u3057\u305f<span style=\"color: #ff0000;\"><strong>\u30c8\u30fc\u30af\u30f3<\/strong><\/span>\u3092\u4f7f\u3063\u3066\u8a8d\u8a3c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u88c5\u306b\u3064\u3044\u3066<\/h3>\n<p>OAuth\u3084\u3001OAuth2\u7b49\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u3001OpenID Connect\u7b49\u304c\u4f7f\u308f\u308c\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30fc\u30af\u30f3\u306b\u306f\u3001\u8272\u3005\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>JWT(Json Web Token)<\/strong><\/span>\u304c\u305d\u306e\u4e2d\u3067\u3082\u6709\u540d\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"0KPbG6PqtK\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=5618\">JWT(Json Web Token)\u306b\u3064\u3044\u3066(base64\u306a\u3069\u3082)<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=5618&#038;embed=true#?secret=0KPbG6PqtK\" data-secret=\"0KPbG6PqtK\" width=\"500\" height=\"282\" title=\"&#8220;JWT(Json Web Token)\u306b\u3064\u3044\u3066(base64\u306a\u3069\u3082)&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h3>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u3068\u306e\u9055\u3044\u3084\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u3068\u7570\u306a\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u5074\u3067\u72b6\u614b\u3092\u4fdd\u6301\u3057\u306a\u3044\u306e\u3067\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u3067\u30c8\u30fc\u30af\u30f3\u3092\u4fdd\u6301\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u30d5\u30a9\u30fc\u30e0\u8a8d\u8a3c\u306e\u6bd4\u3079\u3066\u8907\u6570\u30b5\u30fc\u30d0\u30fc\u306b\u30b9\u30b1\u30fc\u30eb\u30a2\u30a6\u30c8\u3057\u3084\u3059\u3044\u8a8d\u8a3c\u65b9\u5f0f<\/strong><\/span>\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u30c8\u30fc\u30af\u30f3\u3078\u306e\u691c\u8a3c\u306bDB\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001DB\u30a2\u30af\u30bb\u30b9\u304c\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u9069\u5ea6\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Web\u30a2\u30d7\u30ea\u306e\u30ed\u30b0\u30a4\u30f3\u3067\u4f7f\u308f\u308c\u308b\u8a8d\u8a3c\u306b\u3082\u8272\u3005\u7a2e\u985e\u304c\u3042\u308b\u306e\u3067\u5206\u985e\u3057\u3066\u304a\u304d\u307e\u3059\u3002 Basic\u8a8d\u8a3c Apache\u7b49\u306eWeb\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3067\u3001\u8a72\u5f53\u306e\uff28\uff34\uff2d\uff2c\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306b\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u3067\u8a8d\u8a3c\u3092\u51fa\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 Basic\u8a8d [&hellip;]","protected":false},"author":1,"featured_media":297,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/285"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285"}],"version-history":[{"count":18,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":20737,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions\/20737"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/media\/297"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}