Securing a web facing netbox server #5876
-
Hi, I have just installed netbox on a web facing linux box so that my team, distributed all over the world, can all access it easily. I'm a bit concerned because anyone can access the homepage and mess around with the search function. Even while not logged in. I thought about adding an .htpassword file to apache but cant find the web root (it's not in /var/www/) I cant be the first person to have encountered his issue, what do other people do to secure their web facing netbox servers? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Personally, having your netbox instance exposed is not idea. I would recommend securing it behind a VPN at the very least. You need to define the .htaccess file and then define the .htpasswd file yourself. I suggest looking at the Apache docs regarding this. The HTPASSWD file does not need to be in the web root either. |
Beta Was this translation helpful? Give feedback.
-
This is configurable with |
Beta Was this translation helpful? Give feedback.
-
I use
Netbox is configured for remote auth, so users don't have to login a second time. There are no default groups set, so access to Netbox data has to be explicitly granted by the administrator.
|
Beta Was this translation helpful? Give feedback.
This is configurable with
LOGIN_REQUIRED
.