verbb / knock-knock

Password protect your entire Craft website front-end with a single password
MIT License
18 stars 6 forks source link

CP Access Management *Only #61

Open wihodges opened 1 year ago

wihodges commented 1 year ago

Question

Is it possible to use this plugin to setup/manage whitelisted IP addresses that are allowed to access the control panel url otherwise forward them to a 404 page?

Additional context

Was referred to this plugin via https://github.com/sjelfull/craft3-restrict

engram-design commented 1 year ago

Not specifically to restrict access to the control panel, but it would allow access to both the front-end and control panel.

But otherwise, yes you can decide to lock down everything and add IPs to allowIps which will not be challenged with a Knock Knock login. For all other users trying to access, they'll be challenged with the Knock Knock login, and not a 404. That's probably a good idea for a feature.