Like say, someone clicks on share button, and a link is copied. What this link does is, go to specific page directly without going through other pages. Now, what if that page is needed to be logged in, so my query is like, how we can share that link, so that when someone clicks on it, it need to check authentication and then redirect to specific page.
Alternatively question is, can we directly add authentication in website, so any link refering to website needs to be logged in.
Please help me in this.