Data Security of Vue website

problem description

Vue project

  1. the user requests that each interface carry a key.
  2. request login interface first, return token and userInfo after success, and then save it.
  3. each subsequent request needs to carry token. Even some parameters of many interfaces are some fields of user userInfo
  4. needs to implement the intermediate attacker Eve cannot steal data. Or there is no way to simulate the identity of Alice to communicate with Bob.

the environmental background of the problems and what methods you have tried

Anti-crawler strategy studied by myself: ider" rel=" nofollow noreferrer "> https://github.com/FantasticL.

what result do you expect? What is the error message actually seen?

how to save key, token, userInfo? Need to implement the function of remembering passwords, so whether this information needs to be written into LocalStorage or cookie. Do you want to encrypt things written like this? There is no reasonable logic in the whole. I hope you can give me some suggestions


the system I made also uses token for single sign-on
I am stored in sessionStorage

websites can be upgraded to https, to improve security


put LocalStorage on it, go https , what's the point of encrypting that thing?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9205b-13a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9205b-13a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?