Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to setup UVNC for authentification via user

Post Reply
User avatar
seemax1991
Posts: 6
Joined: 2013-06-07 09:07

How to setup UVNC for authentification via user

Post by seemax1991 »

Hello,

due to security reasons in our company we can not allow Administrators and HelpDeskSupport to log on to computers without the current users permission. I choosed UVNC for our 30 new computer because a lot of people in my business suggested UVNC to me.

So here I am trying to find the option to disable password-auto-logon and activate the authentification by user-permission but I can not find it. So I thought that I may be too blind or inexperienced to find it and registered to ask for help.
Could it be a seperate plugin which needs to be atted to UVNC? Is this option even available?


with kind regards
Seemax
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: How to setup UVNC for authentification via user

Post by Rudi De Vos »

The following parameters allow you to configure it.
set QuerySetting=4
QueryAccept=0 ( refuse connection if user doesn't accept it in x seconds)
or
AuthHosts=?:
QueryAccept=0 ( refuse connection if user doesn't accept it in x seconds
( If you search google, use accept reject ultravnc)

ultravnc.ini
[admin]
accept_reject_mesg=
Custom accept/reject messageBox text.
to change the messageBox logo add logo.bmp in the ultravnc folder

AuthHosts=
+ =allow
- = deny
? = query
syntax:
-:+10.0.60.141:?10.0.31.169:-10.0.20.240:
instead of 10.0.60.141 you can use 10.0.60, then it is valid for the full range of ip addresses..

QuerySetting=2
Define on how to react on the (-,?,+) from the Authhosts.
0="+:Accept, ?:Accept, -:Query"
1="+:Accept, ?:Accept, -:Reject"
2="+:Accept, ?:Query, -:Reject [Default]"
3="+:Query, ?:Query, -:Reject"
4="+:Query, ?:Reject, -:Reject"
It is used to specify a set of IP address templates which incoming connections must match in order to be accepted. By default, the template is empty and connections from all AuthHosts_Tip5="hosts are accepted. The template is of the form:
+[ip-address-template]
?[ip-address-template]
-[ip-address-template]
In the above, [ip-address-template] represents the leftmost bytes of the desired stringified IP-address.
For example, +158.97 would match both 158.97.12.10 and 158.97.14.2. Multiple match terms may be specified, delimited by the ":" character. Terms appearing later in the template take precedence over earlier ones. e.g. -:+158.97: would filter out all incoming connections except those beginning with 158.97. Terms beginning with the "?" character are treated by default as indicating hosts from whom connections must be accepted at the server side via a dialog box. The QuerySetting option determines the precise behaviour of the three AuthHosts options..

QueryTimeout=10
QueryTimeout is the time the messagebox is shown..

QueryAccept=0 ( 0=refuse 1=accept 2=refuse)
This popup a timed messagebox to allow the user (server site) to allow/reject an incoming connect..

QueryIfNoLogon=0
Disable/enable query settings when no user is logged..

If the user is logged on, but has his screensaver on you normal can't get access as "QueryIfNoLogon" find a logged user.
to overwrite this set QueryAccept=2 and QueryIfNoLogon=0 -> no messagebox when screen is locked.
User avatar
seemax1991
Posts: 6
Joined: 2013-06-07 09:07

Re: How to setup UVNC for authentification via user

Post by seemax1991 »

This helped me a lot!
Thank you very much.
Post Reply