{"id":1410,"date":"2020-06-13T17:40:04","date_gmt":"2020-06-13T08:40:04","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=1410"},"modified":"2023-02-07T12:30:20","modified_gmt":"2023-02-07T03:30:20","slug":"php-security3","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/php-security3\/","title":{"rendered":"\u3010PHP\u3011https\u306e\u307fCookie\u3092\u8a31\u53ef\u3059\u308b"},"content":{"rendered":"<p>https\u306e\u307fCookie\u3092\u8a31\u53ef\u3059\u308b<\/p>\n<pre>\r\n\/\/ https\u306e\u307f\u8a31\u53ef\u3059\u308b\r\nini_set('session.cookie_secure', 1);\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https\u306e\u307fCookie\u3092\u8a31\u53ef\u3059\u308b \/\/ https\u306e\u307f\u8a31\u53ef\u3059\u308b ini_set(&#8216;session.cookie_secure&#8217;, 1);<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[567,53,96,566],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-mK","jetpack-related-posts":[{"id":188,"url":"https:\/\/clouds.tokyo\/blog\/php_cookie\/","url_meta":{"origin":1410,"position":0},"title":"\u3010PHP\u3011Cookie\u3078\u306e\u30c7\u30fc\u30bf\u4fdd\u5b58\u30fb\u53d6\u5f97\u30fb\u524a\u9664","author":"yamamoto","date":"2010\u5e7410\u670821\u65e5","format":false,"excerpt":"Cookie\u3078\u306e\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u306f setcookie('\u30ad\u30fc', '\u5024', \u6709\u52b9\u671f\u9650, '\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1406,"url":"https:\/\/clouds.tokyo\/blog\/php-security1\/","url_meta":{"origin":1410,"position":1},"title":"\u3010PHP\u3011JavaScript\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56","author":"yamamoto","date":"2020\u5e744\u67088\u65e5","format":false,"excerpt":"JavaScript\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56 \/\/ JavaScript\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b561\uff08http\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":714,"url":"https:\/\/clouds.tokyo\/blog\/ajax_cors\/","url_meta":{"origin":1410,"position":2},"title":"\u3010Ajax\u3011\u901a\u4fe1\u30e1\u30bd\u30c3\u30c9\u304c\u52dd\u624b\u306bOPTIONS\u306b\u306a\u3063\u305f\u3089","author":"yamamoto","date":"2017\u5e745\u67082\u65e5","format":false,"excerpt":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u3067Ajax\u901a\u4fe1\u3092\u884c\u3046\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306f\u81ea\u52d5\u7684\u306b\u300c\u30d7\u30ea\u30d5\u30e9\u30a4\u30c8\u300d\u3068\u547c\u3070\u308c\u308b\u901a\u4fe1\u30c1\u30a7\u30c3\u30af\u3092\u884c\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":225,"url":"https:\/\/clouds.tokyo\/blog\/php_vd_numbar\/","url_meta":{"origin":1410,"position":3},"title":"\u3010PHP\u3011\u6b63\u898f\u8868\u73fe\u30670\uff5e9\u306e\u6570\u5b57\u306e\u307f\u8a31\u53ef","author":"yamamoto","date":"2008\u5e743\u670813\u65e5","format":false,"excerpt":"\u5165\u529b\u30c1\u30a7\u30c3\u30af\u3067\u3088\u304f\u3042\u308b0\uff5e9\u306e\u300c\u534a\u89d2\u6570\u5b57\u300d\u306e\u307f\u304b\u3069\u3046\u304b\u306e\u30c1\u30a7\u30c3\u30af\u3067\u3059\u3002 function check\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":685,"url":"https:\/\/clouds.tokyo\/blog\/html5_ls\/","url_meta":{"origin":1410,"position":4},"title":"\u3010HTML5\u3011localStorage\u3092\u4f7f\u3063\u3066\u30ed\u30fc\u30ab\u30ebPC\u306b\u9023\u60f3\u914d\u5217DB\u3092\u69cb\u7bc9\u3059\u308b","author":"yamamoto","date":"2017\u5e744\u670821\u65e5","format":false,"excerpt":"HTML5\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305flocalStorage\u306f \u305d\u306e\u540d\u306e\u901a\u308a\u3001\u30ed\u30fc\u30ab\u30ebPC\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":537,"url":"https:\/\/clouds.tokyo\/blog\/ajax_xdomain\/","url_meta":{"origin":1410,"position":5},"title":"\u3010Ajax\u3011\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u3067\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046","author":"yamamoto","date":"2013\u5e747\u670827\u65e5","format":false,"excerpt":"\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u3067\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5\u306e\u4e00\u3064\u306b\u3001 \u300cAccess-Control-Allow-Orig\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1410"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=1410"}],"version-history":[{"count":1,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1410\/revisions"}],"predecessor-version":[{"id":1411,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1410\/revisions\/1411"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=1410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=1410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=1410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}