Click here to Skip to main content
15,889,732 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
I have several questions to which I ask you to answer me, please!

1. If a user has a VPN and a site saves locally stroge / session stroge information that VPN will block the site from saving, ie does it influence if you have VPN?
2. Is it better to save the information of an account (id, encrypted) in order to log in the user without having to re-enter the username and password in a cookie or local storge?
3. There is a method to save information even after the user leaves the page (for user login) without using local stroge / session stroge / cookie / web sql or anything the user can see even if it is encrypted (in WebAssambly Blazor)

What I have tried:

I know I have to say what I tried here, but I just searched but found nothing :(
Posted
Updated 4-Nov-21 9:27am

1 solution

1) VPN's do not block cookies. They just block your IP which makes tracking harder.
2) No. If you want security, don't store anything related to users on their computer. Remember, you can read cookies / local storage and copy values. That means I could probably duplicate your cookies on my machine ... I've never tried, but I can't see it being impossible.
3) Only if they log in: then you can use a local-to-the-server database to store user related info and retrieve it when they login again.
 
Share this answer
 
Comments
Member 14992876 6-Nov-21 3:01am    
Tanks you!
Member 14992876 6-Nov-21 5:33am    
But how do I access the local-to-the-server database in Blazor WebAssambly?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900