educative.io

Educative

Can users allow a particular set of users to access a URL?

In the Security and Permission section, a question is raised “Can users create private URLs or allow a particular set of users to access a URL?”

Storing the URL against a user is fine. But how do you check when a user clicks the private tinyURL against the user? If the private tinyURL is put in a marketing campaign that is sent to prospects, how to verify the user?

Thanks
Subbu

I believe, if someone is trying to access a private url then they have to be a logged-in user. Otherwise, I do not think there is any way to check permission.

The use case you have mentioned here, the maketing campaign, it does not work if a user who is clicking the url is not logged-in.