[security]쇼핑몰 update 엔드포인트 CSRF 보호 추가
This commit is contained in:
1 parent
92a052fa7a
commit
3e0e8be6da
8 files changed
+78
No files matched your search
@@ -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_member) {
|
||||
alert_close("상품문의는 회원만 작성이 가능합니다.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user