N
N
NealMoreau2014-11-21 15:56:39
ubuntu
NealMoreau, 2014-11-21 15:56:39

How to hide the dev web server from strangers?

Hello,
let's assume that there is a digital ocean dev server with sites on it, there is also a production site on which the same kitchen is spinning for general access. How would you restrict access to the maiden "for your own"? http auth somehow gemorno)
I will be glad to advice and links to mana. Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2014-11-21
@merryjane

If you have all your "friends" sitting in one or a small number of offices, then you can restrict access to the ip-addresses of these offices in the web server or in iptables.

V
Valentine, 2014-11-21
@vvpoloskin

Gemorno to create a file with passwords and add a couple of lines to the config?
Well, then you can hang the dev-site on a separate port, hang up an ACL for the dev-site, fasten TLS authorization for it, block it using iptables...

A
Aleksandr, 2016-05-17
@cyberspy

smoke mana and .htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question