Skip to content

HttpAddUrlToUrlGroup requires a port number greater than 1024 unless the caller is running as an administrator. #1356

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

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

longjmp
Copy link
Contributor

@longjmp longjmp commented Nov 11, 2022

When I call HttpAddUrlToUrlGroup as a member of the built-in Users group account to catch "http://localhost:80/", I get an ERROR_ACCESS_DENIED error, which is not documented. Unlike Linux, under Windows, User group members can listen on 80, 443 or other low port without administrator privileges. I have also ruled out the effect from the Windows firewall, and when I turn off the firewall via firewall.cpl, HttpAddUrlToUrlGroup still returns ERROR_ACCESS_DENIED for the Users group account.

When I call HttpAddUrlToUrlGroup as a member of the built-in Users group account to catch "http://localhost:80/", 
I get an ERROR_ACCESS_DENIED error, which is not documented. 
Unlike Linux, under Windows, User group members can listen on 80, 443 or other low port without administrator privileges. 
I have also ruled out the effect from the Windows firewall, and when I turn off the firewall via firewall.cpl, 
HttpAddUrlToUrlGroup still returns ERROR_ACCESS_DENIED for the Users group account.
@prmerger-automator
Copy link

@longjmp : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@stevewhims stevewhims merged commit 5e48cd2 into MicrosoftDocs:docs Nov 19, 2022
@longjmp longjmp deleted the patch-1 branch July 14, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants