View Full Version : Password Protected Pages
allenrichard
3-11-05, 11:33 PM
I am NOT using front page and want to know if I can send an e-mail to a select group of my newsletter clients and have a page password protected so they can view it only once and not be able to pass the password on to someone else. The password protected page sort of disables once the newsletter client opens it. Can this be accomplished using my powweb site? Thanks
BrandonColorado
3-12-05, 08:26 AM
That would be a little difficult with programming. You could get some software (PHP or otherwise) that could handle that for you. The easiest option would be to send the email to everyone and password protect the page for a certain period of time and then just delete it or change the password. If you need help PM me for my email.
Brandon
You would have to use a database to keep track - and I'll warn you that this sort of thing is likely to annoy your customers if they have trouble opening the newsletter the first time and are blocked after that. I had a store do that to me and I was VERY annoyed.
One thing you could do is, when the user accesses the page, record their IP address and disallow future opens from different IPs. Still can annoy, if, for example, they use PCs in different locations.
One thing you could do is, when the user accesses the page, record their IP address and disallow future opens from different IPs. Still can annoy, if, for example, they use PCs in different locations.
It would annoy even more if the reason for having to re-visit was that the dial-up line had been dropped and then a new IP address allocated on reconnection. :(
Try and look into www.hotscripts.com to find some scripts .. or look here - http://www.websiteagent.info/website-tips-hints.php for more websites
RTH10260
3-13-05, 08:24 AM
I am NOT using front page and want to know if I can send an e-mail to a select group of my newsletter clients and have a page password protected so they can view it only once and not be able to pass the password on to someone else. The password protected page sort of disables once the newsletter client opens it. Can this be accomplished using my powweb site? ThanksComment: The way I surf websites, and the way I am quick in closing browser windows after a first glance, just to revisit later, your procedure would not be appreciated by me. The least you should do with a one-time password, would be to send the next access password automatically to the registered email address, when the visitor enters the restricted area.
To answer your question, yes you can do it. You can read and remove lines from the htpasswd file just like any other file. So you could start with a file that had all the users, then remove the lines as the user enters the site.
I suspect you will not find a premade script to do just what you want. But all the pieces are on my Tips & Scripts page (link in my sig). How to create and write a htpasswd file, and how to tell which user has authenticated to the site. You will need to know some php programming to get that to work.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.