Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Exclusion list for certain IP addresses #170

Open
gesture1968 opened this issue Jul 22, 2024 · 3 comments
Open

Feature request: Exclusion list for certain IP addresses #170

gesture1968 opened this issue Jul 22, 2024 · 3 comments

Comments

@gesture1968
Copy link

I would like to request a feature in the Windows credential provider client. Although I could try to append the code myself, I'm unable to compile the source code on VS2022 due to Linker errors. The request is to have a registry setting containing a list of IP blocks that are excluded from two-factor authentication. I'm using the client on a number of PC's in my network, and they are accessible from the internet via RDP. I want them to use two-factor authentication, but only from the internet and not when I'm connecting to the PC's via my local network. If the client could check for the list of excluded P addresses, it could skip the two-factor for my internal IP addresses.

Regards,
Ge.

@nilsbehlen
Copy link
Member

Hi,
we have had this idea ourself or as request now multiple times.
The problem i found is that there is no reliable way to get the client IP in RDP scenarios. We would need to use interal windows APIs which can break at any time in the future with any update, and even then it seems to work only for RD Gateways.

Have you done any research on that yet if you were to append the code yourself?

@gesture1968
Copy link
Author

gesture1968 commented Jul 22, 2024 via email

@nilsbehlen
Copy link
Member

I have only expored the "direct" way via win32 api, which is not really viable, so maybe an indirect way might work better.
I will check what you said when i have some time.
Another option would be to check for the IP of the connection on port 3389.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants