ãµã㪠PHPãµã¼ãã¼ãµã¤ãããã°ã©ãã³ã°ãã¼ãã§ã¯ããã¹ã¿ã¼ã«ã¯ãPHPå ¥éæ¸ã¨ãã¦ã¯çããã¯ãã¹ãµã¤ãã»ãªã¯ã¨ã¹ããã©ã¼ã¸ã§ãª(CSRF)対çã«ã¤ãã¦ã®èª¬æããããããã®æ¹æ³ã«ã¯åé¡ããããã¢ã«ã´ãªãºã ã¨ãã¦åé¡ããããã¨ã«å ãã¦ãå®è£ ä¸ã®åé¡ãããããã®ã¾ã¾ã³ãããã¦ç¨ããã¨èå¼±æ§ã¨ãªãã ã¯ããã« å¤åºè¦ªæ¹ã®ä»¥ä¸ã®ãã¤ã¼ããè¦ã¦é©ãã¾ããã CSRFç¨ã®ãã¼ã¯ã³ã®ä½æ ï¼token = password_hash(mt_rand(), PASSWORD_DEFAULT); ã£ã¦ã®ãæ¸ç±ã§è¦ãâ¦â¦â¦ãã³ã®ãã³ãããªã(è¦ç¬ æ¸ç±åã§ã°ã°ã£ã¦èª¿ã¹ãâ¦â¦è©å¤ãæªãã®ã§ãã¾ããç´å¾ã£ã¡ããç´å¾ã â ãã (@gallu) July 17, 2019 CSRFãã¼ã¯ã³ã®çæã«ãpassword_hashé¢æ°ã使ãã§ãã¨? 親æ¹ã«æ¸ç±åãæãã¦ããã ããè³¼å ¥ããã®ãããã®è¨äºã§ç´¹ä»ãããPH
{{#tags}}- {{label}}
{{/tags}}