WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: CodeALot on November 22, 2023, 05:29:35 PM

Title: Admin directory unavailable for anyone but user #1
Post by: CodeALot on November 22, 2023, 05:29:35 PM
I'd like to shield the complete /admin from anyone but the actual superadmin. It's OK if they can see the login page, but as soon as they log in with user credentials other than superadmin, I want to kick them to the frontend.

Any suggestions?
Title: Re: Admin directory unavailable for anyone but user #1
Post by: crnogorac081 on November 22, 2023, 08:34:59 PM
Google how to protect folder using .htaccess and password.

When you type .../admin you will be prompted for password
Title: Re: Admin directory unavailable for anyone but user #1
Post by: sternchen8875 on November 23, 2023, 02:01:42 AM
also my favorite solution and the savest
Title: Re: Admin directory unavailable for anyone but user #1
Post by: CodeALot on November 23, 2023, 01:42:48 PM
Google how to protect folder using .htaccess and password.

When you type .../admin you will be prompted for password

Hi, thanks, I thought of that but hoped there would be a more 'elegant' way possible without double logins :)
Title: Re: Admin directory unavailable for anyone but user #1
Post by: sternchen8875 on November 23, 2023, 02:35:28 PM
do you have registered users or the possibility for a frontend login / registration?
Title: Re: Admin directory unavailable for anyone but user #1
Post by: CodeALot on November 27, 2023, 03:29:04 PM
Yes they are all registered and able to login. This is only used to grant access to certain parts of the website, not for admin stuff.