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

Custom authentication / can password be hashed and compared?

Post Reply
bruceceng
Posts: 1
Joined: 2011-01-03 23:14

Custom authentication / can password be hashed and compared?

Post by bruceceng »

I am looking for a solution to the following problem. I have a database of users who should be allowed to log on to the computer at specific times. In my database I only store a hash of their passwords. I would like to pass the VNC username and password from the dialog box to my own program and then send back either an accept or reject depending on who's turn to use the computer it is. I thought of using the MS-LOGIN and then creating a script that runs in the background and adds or removes users to a group at the appropriate time, but there is the problem of the hash. I don't actually know the plaintext passwords so I can't set them. Would it be easy to make the authentication dialog box hash the password before sending it to the windows logon? (That way I could just set the windows password to the hashed version) Is there another solution that I am missing? I want this to be a one step process so the users don't have to generate random onetime passwords or anything like that.
Post Reply