Search code examples
typo3typoscripttypo3-6.2.xtypo3-extensions

TYPO3 password protect a single Page


I have a scenario in which I need to password protect a single page in typo3. No front-end user required Just a password protection is enough.

Regards, Gogul


Solution

  • There are several problems regarding the solution by using a .htaccess. It will fail at least in the following cases:

    • Call the page with the alternative url index.php?id=<pageid>
    • If an editor changes the page title, the URL will change as well and you loose the protection.

    Using felogin is really simple as it is a core extension and you don't need any registration. Further advantages are:

    • It is secure. Passwords are transferred using RSA protection if you don't yet use https
    • You can add a login box on the same page and hide it if someobody logs in
    • Any editor can create users and change passwords