Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-10-13 18:09:48
- riot
- Member
- Registered: 2005-10-09
- Posts: 22
How do I Password Protect a section?
Hi folks, its been a while since I’ve been on here. I have a txp install with a members section that needs to be password protected. I have no to register users, I simply want to hand out a password so people can “log in” to the members section and download various pdfs and read updates.
I’ve done some googling and found txp:password_protect – seems like it would work, but I really just need to require a password. Anyone else have other ideas to solve this problem?
Offline
#2 2010-10-13 19:43:28
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: How do I Password Protect a section?
riot wrote:
but I really just need to require a password.
That is what <txp:password_protect /> does, well OK a login and a password ;) This doesn’t mean visitors have to be registered as users, they just get to see a popup window where they need to enter those two values before they get to see the page.
Offline
Re: How do I Password Protect a section?
The other option is to use ign_password_protect
and create a single user, but hiding the username in a hidden field for logon purposes. The additional functionality of this approach is the capacity to change the password easily without having to update TxP tags. And it gives the potential to extend to multiple users in the future, if that becomes a need.
It’s not much harder than txp_password_protect
to set up.
Offline
#4 2010-10-14 13:57:09
- riot
- Member
- Registered: 2005-10-09
- Posts: 22
Re: How do I Password Protect a section?
Thanks for the advice – ign_password_protect sounds good to me, thats exactly the approach I want. I was just worried that the software might be too old and incompatible with TXP.
Offline
Pages: 1