on 2023 Jan 30 6:25 AM
We have some third party calls which brings us some data which is not sensitive. We are planning whether to go ahead with implementing cache or using cookie (with expiration). What are the downside of using cookie instead of cache?
Request clarification before answering.
krishn_signet
The downside of using cookie instead of cache is that cookies are stored on a user's device, meaning they can be accessed by malicious actors if the user's device is compromised. Cookies also have limited storage space, so if the data you are storing is large it may not be well suited for a cookie. Additionally, cookies have no expiration time, so it is important to ensure the cookie is removed when it is no longer needed to avoid any security issues. Lastly, cookies are sent with every request, so if the data you are storing is sensitive, it could be intercepted and read by a malicious actor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
22 | |
21 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.