Is it safe to store User ID within the Flask session?
问题 I have found a number of articles online explaining that the Flask session is secured and not encrypted . This means that users can Base64 decode the cookie and read the values inside. Is it an issue if my application uses the User ID value from this session cookie to authenticate the user after he successfully logs in? If I understand correctly, the user will not be able to change his cookie value to an ID of another user, as it signed by the application private key on the server side. Is