API Tokens Security | Sololearn: Learn to code for FREE!

+10

API Tokens Security

How to store API Tokens securely at Front-end Cookies and Local Storage are not safe for CSRF attacks. Recommend me best solution for secure API Tokens at Front-end.

3/28/2021 12:46:11 PM

Shahghasi Adil 👑 🇦🇫

4 Answers

New Answer

+1

+1

Maybe it helps: https://stackoverflow.com/questions/52444630/is-there-a-way-to-secure-an-api-key-on-a-frontend-page

0

Ɗeⱥᖙpͥooͣlͫツ جوردن آهو ماولی(JAM) dotenv is for hiding keys I need to hide token

-1

Once when I was watching YT channel of Microsoft Developers they too suggested dotenv package