jerryco Posted March 23, 2012 Share Posted March 23, 2012 Hi I'm after a solution to a problem I have. I'm building a small site for charity which the the client wants to email(with a url link) to say 1000 selected companies but only wants them to be able to view the site and register interest and not anyone else or if they forward the mail to a non prefered client? Any help to point me in the right direction would be good thank-you. Quote Link to comment https://forums.phpfreaks.com/topic/259559-website-access/ Share on other sites More sharing options...
scootstah Posted March 23, 2012 Share Posted March 23, 2012 Maybe generate a username/password for each one and then send it in the email? Or send them a link in which they can create their own username/password. You could use some kind of token to make sure only the recipient of the email can view the page. Quote Link to comment https://forums.phpfreaks.com/topic/259559-website-access/#findComment-1330471 Share on other sites More sharing options...
jerryco Posted March 23, 2012 Author Share Posted March 23, 2012 Thanks for the reply scootstah and I had in my head this would be the way to go but the email would no doubt be to a group so could be maybe email and a code so not very secure, the token bit sounds good how does that work? Quote Link to comment https://forums.phpfreaks.com/topic/259559-website-access/#findComment-1330476 Share on other sites More sharing options...
scootstah Posted March 23, 2012 Share Posted March 23, 2012 I was thinking something along the lines of assigning a unique token to each company. In the email include a url that's something like, register.php?token=asdi934tsjdk5lqaw45j. You could make it so they have to enter their email on the page to make sure it matches. I dunno, just pondering. Your approach really depends on how much work you want each company to go through. Quote Link to comment https://forums.phpfreaks.com/topic/259559-website-access/#findComment-1330550 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.