privacy - How to allow only invited users to see a website (and register for an account)? -
i'm working on website that allows user register via linkedin account or user registration form. website private , should accessible people have been invited register account view contents of site. know search engines crawl , list in organic search results. how make sure invited people can registration page?
i thinking of using field value pair in query string, "?invite=3sdlfwe" , allowing people have arrived on page query string see registration page.
are there better methods of doing out there?
you can create invitation tokens each invite in database. tokens added query paramethers or url path, e.g.
http://www.example.com/register/?token=3sdlfwe
or
http://www.example.com/register/3sdlfwe/
when used once, gets deleted , becomes invalid.
Comments
Post a Comment