mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-22 09:55:57 +01:00
Add ref to https://github.com/debops/debops/issues/1233. I previously referred to it from https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples. This is a better/more central spot.
parent
82cec5f9d3
commit
9e34034a9f
@ -78,3 +78,5 @@ See: [[Fail2Ban Setup|Fail2Ban Setup]]
|
||||
## Hiding under a subdir
|
||||
|
||||
Traditionally, a Bitwarden instance resides at the root of a subdomain (i.e., `bitwarden.example.com`, and not `bitwarden.example.com/some/path`). The upstream Bitwarden server currently only supports subdomain roots, while vaultwarden adds support for [[alternate base directories|Using-an-alternate-base-dir]]. For some users, this is useful simply because they only have access to one subdomain and want to run multiple services under different directories. In such cases, they typically choose something obvious like `mysubdomain.example.com/bitwarden`. However, you can also use this to provide an extra layer of protection by putting vaultwarden under something like `mysubdomain.example.com/bitwarden/<mysecretstring>`, where `<mysecretstring>` effectively acts as a password. Some may argue that this is [security through obscurity](https://en.wikipedia.org/wiki/Security_through_obscurity), but it's actually [defense in depth](https://en.wikipedia.org/wiki/Defense_in_depth_(computing)) -- the secrecy of the subdir is just an extra layer of security, and not intended to be the primary means of security (which is still the strength of a user's master password).
|
||||
|
||||
For general discussion about subpath hosting for security refer to: https://github.com/debops/debops/issues/1233
|
Loading…
Reference in New Issue
Block a user