Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.0k views
in Q2A Core by
I'm obsessed with security, how can I add a .htaccess / and .htpassword  file in /admin/ directory so that you need first to auth as admin user and a secondary auth to admin panel

1 Answer

0 votes
by
I'm a bit skeptic that this would add another level of security. If your main password was stolen, it's just as likely that any other password you have also did. Maybe it would add another level of inconvenience.

Anyway.

Have you tried simply adding both files to the /admin directory? I don't see a reason why it shouldn't work.
...