Protect page with a password

Hi guys,

I would like to protect a page of my forum (admincp) with a password. How can I do it? If I click on “Access” and then on “Access policy” I find email, ip, etc but not password.

Do you want to do this with Cloudflare or do you prefer a .htaccess?

For the .htaccess have a look here: Password protecting a directory and all of it's subfolders using .htaccess - Stack Overflow

If using the Shell is too much you can simply generate a .htpasswd file online: Htpasswd Generator – Create htpasswd - hostingcanada.org

2 Likes

If possible, better in cloudflare!

Access is designed to allow specific user access. You can permit by IP address, Email address, or SSO. I Bypass by IP address (my home IP address) and Allow by Email (my domain name and other personal email addresses). There’s no global password option, as that’s not very secure.

4 Likes

I have configured everything with the email but I see nothing, where am I wrong?

Subdomain: I leave it blank

Domain .mysite.net /

Path: admin.php

Decision: allow

Includes: emails

And I entered my email address

But if I go to the login page to the administrator area, I don’t see any protection!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.