I
I
Irina Kirillova2016-09-13 15:40:18
Access rights
Irina Kirillova, 2016-09-13 15:40:18

How to restrict site viewing for everyone except the admin?

It is very urgent to restrict the viewing of the site for everyone except 1 user (admin). The option to ban all IPs except for one does not work. Is it just to do registration and authorization? The site is 1 HTML page and a database. Maybe there is some other way. Help me please!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Severus256, 2016-09-13
@severus256

Authorization + role map in the database

A
Alex, 2016-09-13
@Kozack

I agree with Alexander + . Using .htpasswd is the solution. Not a sick manual on this topic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question