{"id":12285,"date":"2021-06-23T18:21:25","date_gmt":"2021-06-23T13:51:25","guid":{"rendered":"https:\/\/liangroup.net\/blog\/?p=12285"},"modified":"2021-06-23T18:23:43","modified_gmt":"2021-06-23T13:53:43","slug":"how-to-stop-csrf-attack","status":"publish","type":"post","link":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"12285\" class=\"elementor elementor-12285\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-32f418f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"32f418f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3efacee\" data-id=\"3efacee\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-756986f elementor-widget elementor-widget-text-editor\" data-id=\"756986f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\"><a href=\"https:\/\/liangroup.net\/blog\/csrf\/\"><strong>\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF<\/strong><\/a>\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f. \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a CSRF \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062f\u0648 \u0631\u0627\u0647 \u0627\u0635\u0644\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a\u060c \u06cc\u0639\u0646\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0648 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d486b0d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d486b0d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0728393\" data-id=\"0728393\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-94720a8 elementor-widget elementor-widget-text-editor\" data-id=\"94720a8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-size: 14pt;\"><strong>\u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u067e\u0627\u0633\u062e \u0645\u0633\u062a\u0642\u06cc\u0645 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u06cc\u062f:<\/strong><\/span><\/p><ul><li><a href=\"#what-is-csrf-token\"><span style=\"font-size: 12pt;\"><strong>\u062a\u0648\u06a9\u0646 <\/strong><strong>CSRF<\/strong><strong> \u0686\u06cc\u0633\u062a\u061f<\/strong><\/span><\/a><ul><li><a href=\"#how-to-creat-csrf-token\"><span style=\"font-size: 12pt;\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc <\/strong><strong>CSRF<\/strong><strong> \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u061f<\/strong><\/span><\/a><\/li><li><a href=\"#how-to-move-csrf-token\"><span style=\"font-size: 12pt;\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc <\/strong><strong>CSRF<\/strong><strong> \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0627\u062f\u061f<\/strong><\/span><\/a><\/li><li><a href=\"#how-to-validate-csrf-token\"><span style=\"font-size: 12pt;\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc <\/strong><strong>CSRF<\/strong><strong> \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u06a9\u0631\u062f\u061f<\/strong><\/span><\/a><\/li><\/ul><\/li><li><a href=\"#csrf-defence-by-samesite\"><span style=\"font-size: 12pt;\"><strong>\u062f\u0641\u0627\u0639 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 <\/strong><strong>CSRF<\/strong><strong> \u0628\u0627 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc <\/strong><strong>SameSite<\/strong><\/span><\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2eb6b2c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2eb6b2c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f9e8314\" data-id=\"f9e8314\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e0269e6 elementor-widget elementor-widget-text-editor\" data-id=\"e0269e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"what-is-csrf-token\"><strong>\u062a\u0648\u06a9\u0646 CSRF \u0686\u06cc\u0633\u062a\u061f<\/strong><\/h2>\n<p style=\"text-align: justify;\">\u062a\u0648\u06a9\u0646 CSRF \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u0645\u0646\u062d\u0635\u0631\u0628\u0647\u200c\u0641\u0631\u062f\u060c \u0645\u062d\u0631\u0645\u0627\u0646\u0647 \u0648 \u063a\u06cc\u0631 \u0642\u0627\u0628\u0644 \u067e\u06cc\u0634\u200c\u0628\u06cc\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0633\u067e\u0633 \u0628\u0647 \u0635\u0648\u0631\u062a\u06cc \u0628\u0647 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0645\u062e\u0627\u0628\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a HTTP \u0628\u0639\u062f\u06cc \u06a9\u0647 \u06a9\u0644\u0627\u06cc\u0646\u062a \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062e\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u067e\u0633 \u0627\u0632 \u0645\u062e\u0627\u0628\u0631\u0647\u200c\u06cc \u0627\u06cc\u0646 \u062a\u0648\u06a9\u0646 \u0628\u0647 \u06a9\u0644\u0627\u06cc\u0646\u062a\u060c \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u060c \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0631\u0627 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u062a\u0648\u06a9\u0646 \u062f\u0631 \u0622\u0646 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u061b \u0627\u06af\u0631 \u062a\u0648\u06a9\u0646 \u062f\u0631 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0634\u062a \u06cc\u0627 \u0645\u0639\u062a\u0628\u0631 \u0646\u0628\u0648\u062f\u060c \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0631\u062f \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0627\u0632 \u062d\u0645\u0644\u0627\u062a \u062c\u0639\u0644 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0641\u0631\u0627\u0648\u0628\u06af\u0627\u0647\u06cc (Cross-Site Request Forgery) \u06cc\u0627 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u0646\u062f\u060c \u0686\u0648\u0646 \u0628\u0627 \u0648\u062c\u0648\u062f \u0627\u06cc\u0646 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u060c \u0628\u0631\u0627\u06cc \u0647\u06a9\u0631 \u063a\u06cc\u0631\u0645\u0645\u06a9\u0646 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u06cc\u06a9 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a HTTP \u06a9\u0627\u0645\u0644\u0627 \u0645\u0639\u062a\u0628\u0631 \u0628\u0633\u0627\u0632\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u062f\u0627\u062f \u062a\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f. \u0627\u0632 \u0622\u0646\u200c\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u0647\u0627\u062c\u0645 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0645\u0642\u062f\u0627\u0631 \u062a\u0648\u06a9\u0646 CSRF \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u062a\u0639\u06cc\u06cc\u0646 \u06cc\u0627 \u067e\u06cc\u0634\u200c\u0628\u06cc\u0646\u06cc \u06a9\u0646\u062f\u060c \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u06cc \u0628\u0633\u0627\u0632\u062f \u06a9\u0647 \u062a\u0645\u0627\u0645 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0642\u0628\u0648\u0644\u200c\u0634\u062f\u0646 \u062a\u0648\u0633\u0637 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c99653a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c99653a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1ac89c6\" data-id=\"1ac89c6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5d091b1 elementor-widget elementor-widget-text-editor\" data-id=\"5d091b1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"how-to-creat-csrf-token\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u061f<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0628\u0627\u06cc\u062f \u067e\u0631\u0627\u06a9\u0646\u062f\u06af\u06cc \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f (\u06cc\u0639\u0646\u06cc \u0646\u0638\u0645 \u0648 \u0627\u0644\u06af\u0648\u06cc\u06cc \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f) \u0648 \u067e\u06cc\u0634\u200c\u0628\u06cc\u0646\u06cc \u0622\u0646\u200c\u0647\u0627 \u0628\u0647 \u0634\u062f\u062a \u0633\u062e\u062a \u0628\u0627\u0634\u062f\u060c \u0648 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0644\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc \u0633\u0634\u0646 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a4a2140 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a4a2140\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-85af16f\" data-id=\"85af16f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-006cec4 elementor-widget elementor-widget-text-editor\" data-id=\"006cec4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><strong>\u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u0627\u06cc\u0646 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 \u06cc\u06a9 \u062a\u0648\u0644\u06cc\u062f\u06a9\u0646\u0646\u062f\u0647 \u0627\u0639\u062f\u0627\u062f \u0634\u0628\u0647\u200c\u062a\u0635\u0627\u062f\u0641\u06cc (PRNG) \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0648 \u0631\u0645\u0632\u0646\u06af\u0627\u0631\u06cc\u200c\u0634\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062f\u0627\u062e\u0644 \u062e\u0648\u062f \u06cc\u06a9 \u0628\u0631\u0686\u0633\u0628 \u0632\u0645\u0627\u0646\u06cc \u062d\u0627\u0648\u06cc \u0632\u0645\u0627\u0646 \u0627\u06cc\u062c\u0627\u062f\u200c\u0634\u062f\u0646\u060c \u062f\u0631 \u06a9\u0646\u0627\u0631 \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u0645\u062e\u0641\u06cc (Secret) \u062b\u0627\u0628\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d410eea elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d410eea\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7033674\" data-id=\"7033674\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-540557e elementor-widget elementor-widget-text-editor\" data-id=\"540557e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0642\u062f\u0631\u062a PRNG \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a \u0648 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0627\u0645\u0646\u06cc\u062a \u062a\u0648\u06a9\u0646 CSRF\u00a0 \u0628\u06cc\u0634\u062a\u0631 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0648\u06a9\u0646\u200c\u0647\u0627 \u0631\u0627 \u0645\u062e\u062a\u0635 \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0646\u06cc\u062f. \u06cc\u0639\u0646\u06cc \u062e\u0631\u0648\u062c\u06cc PRNG \u0631\u0627 \u0628\u0627 \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u062a\u0635\u0627\u062f\u0641\u06cc \u0645\u062e\u0635\u0648\u0635 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0627\u0635 \u0648 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062a\u0648\u0644\u06cc\u062f \u0634\u062f\u0647 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u0644 \u0645\u0642\u062f\u0627\u0631 \u0646\u0647\u0627\u06cc\u06cc \u06cc\u06a9 \u0647\u0634 \u0642\u0648\u06cc \u0628\u06af\u06cc\u0631\u06cc\u062f. \u0627\u06cc\u0646 \u06af\u0648\u0646\u0647 \u0648\u0642\u062a\u06cc \u0645\u0647\u0627\u062c\u0645 \u0633\u0639\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0648\u06a9\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647\u200c\u06cc \u062e\u0627\u0635 \u06a9\u0647 \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u062f\u0647 \u062a\u062d\u0644\u06cc\u0644 \u06a9\u0646\u062f\u060c \u0628\u0627 \u06cc\u06a9 \u0645\u0627\u0646\u0639 \u0627\u0636\u0627\u0641\u0647 \u0631\u0648\u0628\u0647\u200c\u0631\u0648 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-11c95ca elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"11c95ca\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5a913a2\" data-id=\"5a913a2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-de9bc92 elementor-widget elementor-widget-text-editor\" data-id=\"de9bc92\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"how-to-move-csrf-token\" style=\"text-align: justify;\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0627\u062f\u061f<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u0628\u0627 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0628\u0627\u06cc\u062f \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0645\u062d\u0631\u0645\u0627\u0646\u0647 \u0631\u0641\u062a\u0627\u0631 \u06a9\u0646\u06cc\u062f \u0648 \u0627\u0632 \u0644\u062d\u0638\u0647\u200c\u0627\u06cc \u06a9\u0647 \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u062a\u0627 \u0644\u062d\u0638\u0647\u200c\u0627\u06cc \u06a9\u0647 \u0627\u0632 \u0628\u06cc\u0646 \u0645\u06cc\u200c\u0631\u0648\u0646\u062f\u060c \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u06cc\u0645\u0646 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u062f. \u0631\u0648\u06cc\u06a9\u0631\u062f\u06cc \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627 \u0645\u0648\u062b\u0631 \u0648\u0627\u0642\u0639 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u062e\u0644 \u06cc\u06a9 \u0641\u06cc\u0644\u062f \u0645\u062e\u0641\u06cc \u0627\u0632 \u06cc\u06a9 \u0641\u0631\u0645 HTML \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u062f POST \u062b\u0628\u062a \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0648\u06a9\u0646 \u0631\u0627 \u0628\u0647 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0645\u062e\u0627\u0628\u0631\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646\u200c\u06af\u0648\u0646\u0647 \u0648\u0642\u062a\u06cc \u0641\u0631\u0645 \u062b\u0628\u062a \u0634\u062f\u060c \u062a\u0648\u06a9\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0628\u0647 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-955b7af elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"955b7af\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-186076f\" data-id=\"186076f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4d921f8 elementor-widget elementor-widget-text-editor\" data-id=\"4d921f8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\"><span style=\"color: #ffffff;\">&lt;input type=&#8221;hidden&#8221; name=&#8221;csrf-token&#8221; value=&#8221;CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz&#8221; \/&gt;<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e40bb83 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e40bb83\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c5d2665\" data-id=\"c5d2665\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7c8c46b elementor-widget elementor-widget-text-editor\" data-id=\"7c8c46b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a \u0628\u06cc\u0634\u062a\u0631\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0641\u06cc\u0644\u062f\u06cc \u06a9\u0647 \u062d\u0627\u0648\u06cc \u062a\u0648\u06a9\u0646 CSRF \u0627\u0633\u062a \u062a\u0627 \u062d\u062f \u0627\u0645\u06a9\u0627\u0646\u060c \u062f\u0631 \u0628\u062e\u0634 \u0628\u0627\u0644\u0627\u062a\u0631\u06cc \u0627\u0632 \u0633\u0646\u062f HTML \u0642\u0631\u0627\u0631 \u0628\u06af\u06cc\u0631\u062f. \u062f\u0631 \u062d\u0627\u0644\u062a \u0627\u06cc\u062f\u0647\u200c\u0622\u0644 \u0628\u0627\u06cc\u062f \u062a\u0645\u0627\u0645 \u0641\u06cc\u0644\u062f\u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u06a9\u0647 hidden \u0646\u06cc\u0633\u062a\u0646\u062f \u0648 \u062a\u0645\u0627\u0645 \u0645\u062d\u0644\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062a\u062d\u062a \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631 \u0633\u0646\u062f HTML \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0639\u062f \u0627\u0632 \u0641\u06cc\u0644\u062f \u062d\u0627\u0648\u06cc \u062a\u0648\u06a9\u0646 CSRF \u0628\u0627\u0634\u0646\u062f. \u0627\u06cc\u0646\u200c\u06af\u0648\u0646\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u062a\u06a9\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u06cc\u200c\u0627\u062b\u0631 \u06a9\u0631\u062f \u06a9\u0647 \u0647\u06a9\u0631 \u062f\u0631 \u0622\u0646\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062e\u0648\u062f\u0634 \u062a\u0648\u0644\u06cc\u062f \u06a9\u0631\u062f\u0647\u060c \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0633\u0646\u062f HTML \u0648 \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u062f\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0645\u062d\u062a\u0648\u0627\u06cc \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-82caf55 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"82caf55\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-edb7102\" data-id=\"edb7102\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4993d74 elementor-widget elementor-widget-text-editor\" data-id=\"4993d74\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\"><strong>\u06cc\u06a9 \u0631\u0648\u06cc\u06a9\u0631\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u06a9\u0646 \u0631\u0627 \u062f\u0631 \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u06a9\u0648\u0626\u0631\u06cc \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0627\u06cc\u0646 \u0631\u0648\u06cc\u06a9\u0631\u062f \u0646\u0633\u0628\u062a\u0627 \u0627\u06cc\u0645\u0646\u06cc \u06a9\u0645\u062a\u0631\u06cc \u062f\u0627\u0631\u062f\u060c \u0632\u06cc\u0631\u0627 \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u06a9\u0648\u0626\u0631\u06cc:<\/strong><\/p><ul style=\"text-align: justify;\"><li><strong>\u062f\u0631 \u062c\u0627\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u062f\u0631 \u0633\u0645\u062a \u06a9\u0644\u0627\u06cc\u0646\u062a \u0648 \u0633\u0631\u0648\u0631 \u0644\u0627\u06af\u200c\u06af\u06cc\u0631\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f\u061b<\/strong><\/li><li><strong>\u0627\u0645\u06a9\u0627\u0646 \u062f\u0627\u0631\u062f \u0628\u0647 \u0645\u0646\u0627\u0628\u0639 \u062e\u0627\u0631\u062c\u06cc \u06a9\u0647 \u062f\u0631 \u0647\u062f\u0631 Referer \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a HTTP \u0622\u0645\u062f\u0647\u200c\u0627\u0646\u062f \u0645\u062e\u0627\u0628\u0631\u0647 \u0634\u0648\u062f\u060c \u0648<\/strong><\/li><li><strong>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0631\u0648\u06cc \u0635\u0641\u062d\u0647 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<\/strong><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-031ca24 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"031ca24\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-53e1ce0\" data-id=\"53e1ce0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-78de665 elementor-widget elementor-widget-text-editor\" data-id=\"78de665\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\">\u0628\u0631\u062e\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u060c \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0631\u0627 \u062f\u0627\u062e\u0644 \u06cc\u06a9 \u0647\u062f\u0631 \u0634\u062e\u0635\u06cc\u200c\u0633\u0627\u0632\u06cc\u200c\u0634\u062f\u0647 \u062f\u0631 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0627\u06cc\u0646\u200c\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u062f\u0641\u0627\u0639\u06cc \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0632 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u0645\u0647\u0627\u062c\u0645\u06cc \u06a9\u0647 \u062a\u0648\u0627\u0646\u0633\u062a\u0647 \u062a\u0648\u06a9\u0646 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u067e\u06cc\u0634\u200c\u0628\u06cc\u0646\u06cc \u06cc\u0627 \u0636\u0628\u0637 \u06a9\u0646\u062f \u0647\u0645 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u062d\u0641\u0627\u0638\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0632\u06cc\u0631\u0627 \u0645\u0631\u0648\u0631\u0631\u0647\u0627 \u0645\u0639\u0645\u0648\u0644\u0627 \u0627\u062c\u0627\u0632\u0647 \u0627\u0631\u0633\u0627\u0644 \u0647\u062f\u0631\u0647\u0627\u06cc \u0634\u062e\u0635\u06cc\u200c\u0633\u0627\u0632\u06cc\u200c\u0634\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u062f\u0627\u0645\u0646\u0647 \u0628\u0647 \u062f\u0627\u0645\u0646\u0647 \u062f\u06cc\u06af\u0631 \u0631\u0627 \u0646\u0645\u06cc\u200c\u062f\u0647\u0646\u062f. \u0627\u0644\u0628\u062a\u0647 \u0648\u0642\u062a\u06cc \u0627\u06cc\u0646 \u0631\u0648\u06cc\u06a9\u0631\u062f \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0634\u0648\u062f\u060c \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0641\u0642\u0637 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 XHR (\u0628\u0647 \u062c\u0627\u06cc \u0641\u0631\u0645\u200c\u0647\u0627\u06cc HTML) \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc \u0645\u062d\u0627\u0641\u0638\u062a\u200c\u0634\u062f\u0647 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 CSRF \u0628\u0632\u0646\u062f \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648\u0627\u0642\u0639\u06cc\u060c \u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u0622\u0646 \u0628\u06cc\u0634 \u0627\u0632 \u062d\u062f \u0628\u0627\u0634\u062f.<\/p><p style=\"text-align: justify;\">\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0631\u0627 \u0646\u0628\u0627\u06cc\u062f \u062f\u0627\u062e\u0644 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627 \u0645\u062e\u0627\u0628\u0631\u0647 \u06a9\u0631\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f932fa8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f932fa8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-42cf998\" data-id=\"42cf998\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9319d45 elementor-widget elementor-widget-text-editor\" data-id=\"9319d45\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"how-to-validate-csrf-token\"><strong>\u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0631\u0627 \u0686\u06af\u0648\u0646\u0647 \u0628\u0627\u06cc\u062f \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u06a9\u0631\u062f\u061f<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u0648\u0642\u062a\u06cc \u06cc\u06a9 \u062a\u0648\u06a9\u0646 CSRF \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0628\u0627\u06cc\u062f \u062f\u0631 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u062f\u0627\u062f\u0647\u200e\u0647\u0627\u06cc \u0633\u0634\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0634\u0648\u062f. \u067e\u0633 \u0627\u0632 \u0622\u0646 \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u062f\u0631\u06cc\u0627\u0641\u062a \u0634\u062f \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u062f\u0627\u0634\u062a\u060c \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0628\u0627\u06cc\u062f \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u062f \u06a9\u0647 \u0622\u0646 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u060c \u062d\u0627\u0648\u06cc \u062a\u0648\u06a9\u0646\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0627 \u062a\u0648\u06a9\u0646 \u0630\u062e\u06cc\u0631\u0647\u200c\u0634\u062f\u0647 \u062f\u0631 \u0633\u0634\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u062f. \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0628\u0627\u06cc\u062f \u0628\u062f\u0648\u0646 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0646\u0648\u0639 \u0645\u062d\u062a\u0648\u0627 \u06cc\u0627 \u0645\u062a\u062f HTTP \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f. \u0627\u06af\u0631 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0628\u0647 \u06a9\u0644\u06cc \u062d\u0627\u0648\u06cc \u0647\u06cc\u0686 \u062a\u0648\u06a9\u0646\u06cc \u0646\u0628\u0648\u062f\u060c \u0628\u0627\u06cc\u062f\u00a0 \u0647\u0645\u0627\u0646\u200c\u0637\u0648\u0631 \u06a9\u0647 \u06cc\u06a9 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u062f\u0627\u0631\u0627\u06cc \u062a\u0648\u06a9\u0646 \u0627\u0634\u062a\u0628\u0627\u0647 \u0631\u062f \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0622\u0646 \u0647\u0645 \u0631\u062f \u0634\u0648\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-14ac156 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"14ac156\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c382ceb\" data-id=\"c382ceb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-90a5fa8 elementor-widget elementor-widget-image\" data-id=\"90a5fa8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"761\" height=\"357\" src=\"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/CSRF-2.png\" class=\"attachment-large size-large wp-image-12290\" alt=\"csrf\" srcset=\"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/CSRF-2.png 761w, https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/CSRF-2-300x141.png 300w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f177564 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f177564\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0a6186d\" data-id=\"0a6186d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-45045d7 elementor-widget elementor-widget-text-editor\" data-id=\"45045d7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"csrf-defence-by-samesite\" style=\"text-align: justify;\"><strong>\u062f\u0641\u0627\u0639 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 CSRF \u0628\u0627 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite <\/strong><\/h2>\n<p style=\"text-align: justify;\">\u0628\u0639\u0636\u06cc \u0648\u0628\u0633\u0627\u06cc\u062a\u200c\u0647\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a CSRF \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062e\u0648\u062f \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. SameSite \u06cc\u06a9 attribute \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0645\u06a9\u0627\u0646 \u062b\u0628\u062a \u0648 \u0646\u062d\u0648\u0647 \u062b\u0628\u062a \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc \u0628\u06cc\u0646\u200c\u0633\u0627\u06cc\u062a\u06cc (Cross-Site) \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0631\u062f. \u0647\u0645\u0627\u0646\u200c\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u062a\u0648\u0636\u06cc\u062d \u062d\u0645\u0644\u0627\u062a CSRF \u06af\u0641\u062a\u06cc\u0645\u060c \u0645\u0631\u0648\u0631\u06af\u0631 \u0628\u062f\u0648\u0646 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0647 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0632 \u0686\u0647 \u0645\u0646\u0628\u0639\u06cc \u0632\u062f\u0647 \u0634\u062f\u0647\u060c \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0631\u0627 \u0628\u0647 \u0622\u0646 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0627\u06cc\u0646 attribute \u062f\u0631 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc \u0633\u0634\u0646\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0645\u0627\u0646\u0639 \u0627\u06cc\u0646 \u0631\u0641\u062a\u0627\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u0634\u0648\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0648\u0642\u062a\u06cc \u0633\u0631\u0648\u0631 \u06cc\u06a9 \u06a9\u0648\u06a9\u06cc \u0635\u0627\u062f\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0627\u062a\u0631\u06cc\u0628\u06cc\u0648\u062a SameSite \u0628\u0647 \u0647\u062f\u0631 Set-Cookie \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u06cc\u06a9 Response Header \u0627\u0633\u062a. \u0628\u0639\u062f \u0627\u0632 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0646 \u0627\u06cc\u0646 \u0627\u062a\u0631\u06cc\u0628\u06cc\u0648\u062a \u0628\u0647 \u0627\u06cc\u0646 \u0647\u062f\u0631\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0645\u0642\u062f\u0627\u0631 Strict \u06cc\u0627 Lax \u0631\u0627 \u0628\u0647 \u0622\u0646 \u062f\u0627\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b865f1e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b865f1e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bdc2928\" data-id=\"bdc2928\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-22a55a4 elementor-widget elementor-widget-text-editor\" data-id=\"22a55a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\"><span style=\"color: #ffffff;\">Set-Cookie: SessionId=sYMnfCUrAlmqVVZn9dqevxyFpKZt30NN; SameSite=Strict;<\/span><\/p><p style=\"text-align: left;\"><span style=\"color: #ffffff;\">Set-Cookie: SessionId=sYMnfCUrAlmqVVZn9dqevxyFpKZt30NN; SameSite=Lax;<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5debd97 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5debd97\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f47505c\" data-id=\"f47505c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2fb68f0 elementor-widget elementor-widget-text-editor\" data-id=\"2fb68f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0645\u0642\u062f\u0627\u0631 \u0627\u062a\u0631\u06cc\u0628\u06cc\u0648\u062a SameSite \u0645\u0639\u0627\u062f\u0644 Lax \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f\u060c \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0645\u0631\u0648\u0631\u06af\u0631 \u062a\u0646\u0647\u0627 \u062f\u0631\u0635\u0648\u0631\u062a\u06cc \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc \u0632\u062f\u0647\u200c\u0634\u062f\u0647 \u0627\u0632 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u062f\u0648 \u0634\u0631\u0637 \u0632\u06cc\u0631 \u0628\u0631\u0622\u0648\u0631\u062f\u0647 \u0634\u0648\u0646\u062f:<\/p><ul style=\"text-align: justify;\"><li>\u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0627\u0632 \u0645\u062a\u062f GET \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u062f. \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627 \u0628\u0627 \u0645\u062a\u062f\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u060c \u0645\u0627\u0646\u0646\u062f \u0645\u062a\u062f POST\u060c \u0628\u062f\u0648\u0646 \u06a9\u0648\u06a9\u06cc \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/li><li>\u0631\u06cc\u06a9\u0648\u0626\u0633\u062a \u0646\u062a\u06cc\u062c\u0647\u200e\u200c\u06cc \u06cc\u06a9 \u062a\u0639\u0627\u0645\u0644 \u0633\u0637\u062d \u0628\u0627\u0644\u0627 \u0627\u0632 \u0633\u0648\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627\u0634\u062f\u061b \u0645\u062b\u0644\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0648\u06cc \u06cc\u06a9 \u0644\u06cc\u0646\u06a9 \u06a9\u0644\u06cc\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u060c \u0645\u0627\u0646\u0646\u062f \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f\u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627\u060c \u0628\u062f\u0648\u0646 \u06a9\u0648\u06a9\u06cc \u0632\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/li><\/ul><p style=\"text-align: justify;\">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite \u062f\u0631 \u062d\u0627\u0644\u062a Lax\u060c \u062d\u0641\u0627\u0638\u062a\u06cc \u0646\u0633\u0628\u06cc \u0631\u0627 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a CSRF \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0632\u06cc\u0631\u0627 \u0622\u0646 \u062f\u0633\u062a\u0647 \u0627\u0632 \u0627\u0642\u062f\u0627\u0645\u0627\u062a \u0645\u062c\u0627\u0632 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627 \u06a9\u0647 \u0647\u062f\u0641 \u062d\u0645\u0644\u0627\u062a CSRF \u0647\u0633\u062a\u0646\u062f\u060c \u0645\u0639\u0645\u0648\u0644\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u062f POST \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u062f\u0648 \u0646\u0642\u0635 \u0627\u0635\u0644\u06cc \u062f\u0627\u0631\u062f:<\/p><ul style=\"text-align: justify;\"><li>\u062f\u0631 \u0628\u0639\u0636\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627 \u0627\u0642\u062f\u0627\u0645\u0627\u062a \u062d\u0633\u0627\u0633 \u062a\u062d\u062a \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc GET \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0634\u062f\u0647\u200c\u0627\u0646\u062f.<\/li><li>\u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627 \u0648 \u0641\u0631\u06cc\u0645\u200c\u0648\u0631\u06a9\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u062f HTTP \u0645\u062a\u0641\u0627\u0648\u062a \u0628\u0627 \u0645\u062a\u062f \u062f\u0631\u0633\u062a \u0631\u0627 \u062a\u062d\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0627\u0642\u0639\u060c \u062d\u062a\u06cc \u0627\u06af\u0631 \u062f\u0631 \u0637\u0631\u0627\u062d\u06cc \u062e\u0648\u062f \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0627\u0632 \u0645\u062a\u062f POST \u0628\u0631\u0627\u06cc \u0627\u0642\u062f\u0627\u0645 \u062e\u0627\u0635\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u062f\u0631 \u0639\u0645\u0644 \u0631\u06cc\u06a9\u0648\u0626\u0633\u062a\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0627 \u0645\u062a\u062f GET \u0632\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u0646\u062f \u0647\u0645 \u0642\u0628\u0648\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li><\/ul><p style=\"text-align: justify;\">\u0628\u0647 \u062f\u0644\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u062f\u0631 \u0628\u0627\u0644\u0627 \u06af\u0641\u062a\u0647 \u0634\u062f\u060c \u062a\u0648\u0635\u06cc\u0647 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062d\u0641\u0627\u0638\u062a \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a CSRF \u0641\u0642\u0637 \u0628\u0647 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite \u0648\u0627\u0628\u0633\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0648 \u0627\u06cc\u0646 \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627 \u0628\u0627\u06cc\u062f \u062f\u0631 \u06a9\u0646\u0627\u0631 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627\u06cc CSRF \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u0646\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u06a9\u0648\u06a9\u06cc\u200c\u0647\u0627\u06cc SameSite \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u062d\u0641\u0627\u0638\u062a\u06cc \u0627\u0636\u0627\u0641\u0647 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062a\u062d\u062a \u0634\u0631\u0627\u06cc\u0637 \u062e\u0627\u0635\u06cc\u060c \u0627\u06cc\u0631\u0627\u062f\u0627\u062a \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0631\u0627\u0647\u06a9\u0627\u0631\u0647\u0627\u06cc \u062f\u0641\u0627\u0639\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u062a\u0648\u06a9\u0646 \u0631\u0627 \u067e\u0648\u0634\u0634 \u062f\u0647\u062f.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e3dbb78 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e3dbb78\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c8df1e0\" data-id=\"c8df1e0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ed305d8 elementor-widget elementor-widget-accordion\" data-id=\"ed305d8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2481\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-2481\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-right\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><i class=\"fas fa-plus\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><i class=\"fas fa-minus\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">\u0645\u0642\u0627\u0644\u0627\u062a \u0645\u0634\u0627\u0628\u0647<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2481\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-2481\"><ul><li><a href=\"https:\/\/liangroup.net\/blog\/%d8%aa%d8%b4%d8%b1%db%8c%d8%ad-%d8%a2%d8%b3%db%8c%d8%a8-%d9%be%d8%b0%db%8c%d8%b1%db%8c-ssrf\/\"><strong>\u062d\u0645\u0644\u0647 SSRF \u0686\u06cc\u0633\u062a\u061f<\/strong><\/a><\/li><\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f. \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a CSRF \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062f\u0648 \u0631\u0627\u0647 \u0627\u0635\u0644\u06cc &hellip;<\/p>\n","protected":false},"author":1,"featured_media":12300,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[232,264,349],"tags":[],"class_list":["post-12285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information-security","category-264","category-slides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.5 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646<\/title>\n<meta name=\"description\" content=\"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f\" \/>\n<meta property=\"og:description\" content=\"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646\" \/>\n<meta property=\"article:author\" content=\"#\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-23T13:51:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-23T13:53:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u0627\u062f\u0645\u06cc\u0646\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@#\" \/>\n<meta name=\"twitter:site\" content=\"@liansecurity\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0627\u062f\u0645\u06cc\u0646\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/\"},\"author\":{\"name\":\"\u0627\u062f\u0645\u06cc\u0646\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/#\\\/schema\\\/person\\\/56ec88338ff7cb5202779a216d9f3399\"},\"headline\":\"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f\",\"datePublished\":\"2021-06-23T13:51:25+00:00\",\"dateModified\":\"2021-06-23T13:53:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/\"},\"wordCount\":110,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/ezgif.com-gif-maker-1.png\",\"articleSection\":[\"\u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a\",\"\u0627\u0645\u0646\u06cc\u062a \u0648\u0628\",\"\u06cc\u06cc\u06cc\u06cc \u0627\u0633\u0644\u0627\u06cc\u062f\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/\",\"url\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/\",\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/ezgif.com-gif-maker-1.png\",\"datePublished\":\"2021-06-23T13:51:25+00:00\",\"dateModified\":\"2021-06-23T13:53:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/#\\\/schema\\\/person\\\/56ec88338ff7cb5202779a216d9f3399\"},\"description\":\"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#primaryimage\",\"url\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/ezgif.com-gif-maker-1.png\",\"contentUrl\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/ezgif.com-gif-maker-1.png\",\"width\":1000,\"height\":667,\"caption\":\"csrf defence\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/how-to-stop-csrf-attack\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646\",\"description\":\"\u0622\u062e\u0631\u06cc\u0646 \u0627\u062e\u0628\u0627\u0631\u060c\u0645\u0642\u0627\u0644\u0627\u062a \u0648 \u0622\u0645\u0648\u0632\u0634\u200c\u0647\u0627\u06cc \u062d\u0648\u0632\u0647 \u0627\u0645\u0646\u06cc\u062a \u0633\u0627\u06cc\u0628\u0631\u06cc\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/#\\\/schema\\\/person\\\/56ec88338ff7cb5202779a216d9f3399\",\"name\":\"\u0627\u062f\u0645\u06cc\u0646\",\"description\":\"\u0639\u0644\u0627\u0642\u0645\u0646\u062f \u0628\u0647 \u062d\u0648\u0632\u0647 \u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u0622\u0634\u0646\u0627 \u0628\u0647 \u062d\u0648\u0632\u0647 \u062a\u0633\u062a \u0646\u0641\u0648\u0630\",\"sameAs\":[\"http:\\\/\\\/liangroup.net\",\"#\",\"https:\\\/\\\/x.com\\\/#\"],\"url\":\"https:\\\/\\\/liangroup.net\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646","description":"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f","og_description":"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.","og_url":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/","og_site_name":"\u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646","article_author":"#","article_published_time":"2021-06-23T13:51:25+00:00","article_modified_time":"2021-06-23T13:53:43+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png","type":"image\/png"}],"author":"\u0627\u062f\u0645\u06cc\u0646","twitter_card":"summary_large_image","twitter_creator":"@#","twitter_site":"@liansecurity","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0627\u062f\u0645\u06cc\u0646","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"6 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#article","isPartOf":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/"},"author":{"name":"\u0627\u062f\u0645\u06cc\u0646","@id":"https:\/\/liangroup.net\/blog\/#\/schema\/person\/56ec88338ff7cb5202779a216d9f3399"},"headline":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f","datePublished":"2021-06-23T13:51:25+00:00","dateModified":"2021-06-23T13:53:43+00:00","mainEntityOfPage":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/"},"wordCount":110,"commentCount":1,"image":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#primaryimage"},"thumbnailUrl":"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png","articleSection":["\u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a","\u0627\u0645\u0646\u06cc\u062a \u0648\u0628","\u06cc\u06cc\u06cc\u06cc \u0627\u0633\u0644\u0627\u06cc\u062f"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/","url":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/","name":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646","isPartOf":{"@id":"https:\/\/liangroup.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#primaryimage"},"image":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#primaryimage"},"thumbnailUrl":"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png","datePublished":"2021-06-23T13:51:25+00:00","dateModified":"2021-06-23T13:53:43+00:00","author":{"@id":"https:\/\/liangroup.net\/blog\/#\/schema\/person\/56ec88338ff7cb5202779a216d9f3399"},"description":"\u062d\u0645\u0644\u0627\u062a CSRF \u06cc\u0627 XSRF\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u062d\u0645\u0644\u0627\u062a \u0648\u0628 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0645\u0648\u0641\u0642\u200c\u0634\u062f\u0646 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u062f\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u060c \u062a\u0645\u0627\u0645 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0642\u0631\u0628\u0627\u0646\u06cc \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646\u200c\u0647\u0627\u0633\u062a\u060c \u0628\u0627 \u062a\u0645\u0627\u0645 \u0645\u062c\u0648\u0632\u0647\u0627 \u0648 \u0633\u0637\u062d \u062f\u0633\u062a\u0631\u0633\u06cc \u0642\u0631\u0628\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.","breadcrumb":{"@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#primaryimage","url":"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png","contentUrl":"https:\/\/liangroup.net\/blog\/wp-content\/uploads\/2021\/06\/ezgif.com-gif-maker-1.png","width":1000,"height":667,"caption":"csrf defence"},{"@type":"BreadcrumbList","@id":"https:\/\/liangroup.net\/blog\/how-to-stop-csrf-attack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/liangroup.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u062d\u0645\u0644\u0647 CSRF \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f"}]},{"@type":"WebSite","@id":"https:\/\/liangroup.net\/blog\/#website","url":"https:\/\/liangroup.net\/blog\/","name":"\u0628\u0644\u0627\u06af \u06af\u0631\u0648\u0647 \u0644\u06cc\u0627\u0646","description":"\u0622\u062e\u0631\u06cc\u0646 \u0627\u062e\u0628\u0627\u0631\u060c\u0645\u0642\u0627\u0644\u0627\u062a \u0648 \u0622\u0645\u0648\u0632\u0634\u200c\u0647\u0627\u06cc \u062d\u0648\u0632\u0647 \u0627\u0645\u0646\u06cc\u062a \u0633\u0627\u06cc\u0628\u0631\u06cc","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/liangroup.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Person","@id":"https:\/\/liangroup.net\/blog\/#\/schema\/person\/56ec88338ff7cb5202779a216d9f3399","name":"\u0627\u062f\u0645\u06cc\u0646","description":"\u0639\u0644\u0627\u0642\u0645\u0646\u062f \u0628\u0647 \u062d\u0648\u0632\u0647 \u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u0622\u0634\u0646\u0627 \u0628\u0647 \u062d\u0648\u0632\u0647 \u062a\u0633\u062a \u0646\u0641\u0648\u0630","sameAs":["http:\/\/liangroup.net","#","https:\/\/x.com\/#"],"url":"https:\/\/liangroup.net\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/posts\/12285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/comments?post=12285"}],"version-history":[{"count":0,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/posts\/12285\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/media\/12300"}],"wp:attachment":[{"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/media?parent=12285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/categories?post=12285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/liangroup.net\/blog\/wp-json\/wp\/v2\/tags?post=12285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}