About 5,050 results
Open links in new tab
  1. Any reason NOT to set all cookies to use httponly and secure

    May 25, 2018 · When the httponly flag is not set on the cookie value, the malicious javascript injected into the application due to an application level flaw could end up sabotaging the confidentiality, …

  2. Does a CSRF cookie need to be HttpOnly? - Information Security Stack ...

    Dec 15, 2017 · The httpOnly flag, in general, does provide value in that it prevents client access to those cookies, and if your server returns any cookies, you should probably make them httpOnly. If you are …

  3. Does setting httponly prevent stealing a session using XSS?

    Oct 8, 2013 · If done correctly, HttpOnly prevents an attacker stealing the cookie. However, they can still perform arbitrary web requests impersonating the victim users, and extract the responses. For …

  4. HTTPonly token without CSRF is safe? - Information Security Stack …

    Jan 7, 2024 · The HttpOnly flag only prevents script from reading the cookie; it does not prevent script from sending the cookie along with requests (if it did, many modern websites simply wouldn't work, …

  5. Is it possible to bypass httponly? - Information Security Stack Exchange

    Dec 14, 2020 · One method is to check if the server supports TRACE method. TRACE method is used for debugging mainly. The response contains the cookies even HttpOnly ones. Then with XSS …

  6. authentication - OIDC with JWT in HTTP-only cookie instead of HTTP ...

    Dec 11, 2023 · I'm exploring the possibility of implementing OpenID Connect (OIDC) with an HTTP-only cookie to keep my frontend code completely authentication-agnostic, instead of passing the …

  7. authentication - Is it possible to set an HttpOnly Cookie from one ...

    Oct 2, 2021 · The goal of an httpOnly cookie is that it can't be manipulated on the client side. If you were able to access cookies across a domain, this would put a whole in that built in bit of security because …

  8. web - Can Javascript overwrite a HTTPOnly cookie? - Information ...

    May 13, 2020 · Can Javascript overwrite or delete a HTTPOnly cookie? In more detail: Suppose the user's browser has a cookie for example.com with the HTTPOnly flag set, say session=552..e0.

  9. web application - httpOnly Session Cookies in an iframe context in the ...

    Apr 21, 2024 · My website is using session cookies (w/ SameSite=Lax, secure, httpOnly attributes) and a CSRF Token stored in localStorage. Recently I developed a teams app, which essentially loads the …

  10. Delete secure cookie using javascript - Information Security Stack …

    Jun 5, 2019 · The flag which would prevent that is called "HTTPOnly", which in turn would make those cookies invisible for JavaScript. The fact that most guides suggest using both "Secure" and …