İçeriğe geç

Çerezde HttpOnly eksik (ARCH9124)

Anahtar swift.security.cookie-missing-httponly · Önem warning · Kategori security · CWE CWE-1004

isHTTPOnly: false ile oluşturulan oturum / kimlik çerezlerini işaretler.

HTTPCookies.Value(string: token, isSecure: true, isHTTPOnly: false)
HTTPCookies.Value(string: token, isSecure: true, isHTTPOnly: true)

JavaScript’in okumasına gerek olmayan çerezlerde isHTTPOnly: true ayarlayın.