F
F
fireroshka2020-08-05 09:18:09
In contact with
fireroshka, 2020-08-05 09:18:09

How to restrict access to the site who are not authorized through VK?

Hello!
I have a question. How to restrict access to a site (page) that is not authorized through VK, just so that there would be an inscription log in?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseny, 2020-08-05
@fireroshka

We need a backend and a database that will store user identifiers and give the session key to the front (so as not to log in every time) as well as a flag (true\false) whether the user is authorized.
Well, or the edge, you can fasten pseudo-authorization on the face with the same session key on JS. And they (js) give different data. But as soon as there is something like this in JS, then all your data is already on the surface and it doesn’t cost anything to hide this “login” to browse the site.

S
Sedbol, 2020-08-06
@Sedbol

https://www.youtube.com/watch?time_continue=293&v=...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question