by thad
4 replies
Hey warriors, im working on a website and i want to make it pretty exclusive, does anyone know a way to make it so only people i give a link too can visit the website, and anyone else that trys to visit my website, without the link or trys typing in the url, will get sent to a 404 page or something like that. TL;DR HOW DO I MAKE MY WEBSITE ONLY AVAILABLE TO PEOPLE I GIVE A UNIQUE LINK TOO, AND EVEN PEOPLE THAT TRY AN TYPE THE URL CANT VISIT THE WEBSITE.. Thanks in advance
#url #website
  • Profile picture of the author emptee
    Hi thad,

    The closest you could get would be some kind of.. one-time url with a cookie for continued access - eg. you create a one time "key", stored in mysql/fs/postgres/whatever and append it to the url:

    http://example.com/key=<the key>

    Then, whoever visits the page first with that key is given a cookie, and the key is deleted (or marked as used, or similar), so no one else can use that URL - your page would then just need to check if the visitor had an appropriate cookie before serving up the content (ideally this should be signed somehow).

    That's the best I can think of for your situation - it's pretty nasty though!

    The alternative is to just use user accounts - might be a lot easier

    Michael

    Originally Posted by thad View Post

    Hey warriors, im working on a website and i want to make it pretty exclusive, does anyone know a way to make it so only people i give a link too can visit the website, and anyone else that trys to visit my website, without the link or trys typing in the url, will get sent to a 404 page or something like that. TL;DR HOW DO I MAKE MY WEBSITE ONLY AVAILABLE TO PEOPLE I GIVE A UNIQUE LINK TOO, AND EVEN PEOPLE THAT TRY AN TYPE THE URL CANT VISIT THE WEBSITE.. Thanks in advance
    {{ DiscussionBoard.errors[9936663].message }}
  • Profile picture of the author Lokki08
    Hi Thad,

    One way to do it is to have username and password that protects that specific site or content and people can access only via that page. Thus you can give username and password of free access to all people you have sent your url to. In this way you can make sure that non other people have access except those who knows the username and password. I know it might sound tedious but at least it secured and working for sure.
    {{ DiscussionBoard.errors[9936886].message }}
  • Profile picture of the author javrsmith
    Can you put it in WordPress and have a gate managed by S2 Member or OptimizePress?
    {{ DiscussionBoard.errors[9954104].message }}
  • Profile picture of the author thad
    What ima do is use a wordpress plugin where people get a one time invitation code, thanks tho everyone
    {{ DiscussionBoard.errors[9955426].message }}

Trending Topics