動作
Security #48
進行中
SC
SC
Cross Site Request Forgery
Security #48:
Cross Site Request Forgery
開始日期:
2021-07-26
完成日期:
2021-07-31 (逾期 超過 4 年)
完成比例:
0%
預估工時:
10:00 小時
概述
hoosk_beasincere\hoosk\hoosk0\config\config.php
| /* |
|---|
| Cross Site Request Forgery |
| -------------------------------------------------------------------------- |
| Enables a CSRF cookie token to be set. When set to TRUE, token will be |
| checked on a submitted form. If you are accepting user data, it is strongly |
| recommended CSRF protection be enabled. |
|
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
| 'csrf_regenerate' = Regenerate token on every submission
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
*/
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array();
沒有任何資料可供顯示
動作