WebGUI Authentication or on separate port

Web browser GUI uses JSON over HTTP protocol.
Post Reply
selsner
Posts: 47
Joined: Wed Jan 25, 2017 11:20 am

WebGUI Authentication or on separate port

Post by selsner »

Hi!

I would like to have some authentication on the web gui. I read in earlier threads, that it is not possible right now, right?! The alternative would maybe be to have an nginx proxy on the second port with a http basic auth enabled.
Is it possible to have the web gui on a separate port?

Regards

Sebastian
CGRU 2.3.1 - CentOS 7.7

Sebastian Elsner - Pipeline Technical Director - RISE
www.risefx.com
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: WebGUI Authentication or on separate port

Post by timurhai »

Hi!

Unfortunately, afserver listens only one port, and you can't make it to listen a separate port for WebGUI.
But it is much simpler to make afserver to listen to 2 (and more) ports for everything (but i had not test it).
Then you can use the second port for WebGUI only.
You can look there:
https://github.com/CGRU/cgru/blob/maste ... n.cpp#L353
https://github.com/CGRU/cgru/blob/maste ... t.cpp#L264
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
selsner
Posts: 47
Joined: Wed Jan 25, 2017 11:20 am

Re: WebGUI Authentication or on separate port

Post by selsner »

Thanks, good to know!
CGRU 2.3.1 - CentOS 7.7

Sebastian Elsner - Pipeline Technical Director - RISE
www.risefx.com
Post Reply