Hello!
I’ve just figured this out for myself and figured I’d share. I have been looking for a way to password protect XBVR from other users on a network, XBVR has a authentication feature in the GUI, but it only seems to password protect when launching from a player like Heresphere, anyone can still browse to 10.x.x.x:9999 from a web browser and access your library on the network.
Turns out you can set a username and password to stop anyone from accessing the server but it requires a .bat file.
Before doing anything I strongly recommend making a backup of your xbvr data located in %appdata%\xbvr just to be safe.
Moving on,
To setup the username and password, create a new .txt file and copy the following:
@echo off
set UI_USERNAME=your_username
set UI_PASSWORD=your_password
start “” “C:\Path\To\Your\Application.exe”
Then change “your_username” and “your_password” to whatever credentials you choose, enter the file path to your xbvr.exe save the document with whatever name you please, and close the .txt file.
Next you will need to change the .txt file to .bat just rename the file, and replace .txt with .bat
All done! next time you go to launch XBVR just double click your .bat file, xbvr will launch like normal but when you browse to the UI you will be greeted with this login screen: