[security]쇼핑몰 update 엔드포인트 CSRF 보호 추가

This commit is contained in:
thisgun committed 2026-04-16 02:02:26 +00:00
1 parent 92a052fa7a
commit 3e0e8be6da
8 files changed
+78

No files matched your search

+3
View File
@@ -1,6 +1,9 @@
<?php
include_once('./_common.php');
// CSRF 방지: Origin/Referer 헤더로 요청 출처 검증
if (function_exists('check_request_origin')) check_request_origin(G5_SHOP_URL);
if($is_guest)
die('회원 로그인 후 이용해 주십시오.');