Can we use wildcards with NETSH HTTP ADD URLACL in Windows 7 / 2008r2?
See here: http://msdn.microsoft.com/en-us/library/ms733768.aspx which shows this:
netsh http add urlacl url=http://+:80/MyUri user=DOMAIN\user
My understanding is that it will listening to anything at port 80 and if you want it linked to a specific address, you'd actually have to unbind it. That's what I have to do if I want to run IIS and Apache on the same box with both listening to port 80.
For the user, domain\domain users should be a valid domain group which includes everyone.
netsh http add urlacl url=http://+:80/ user=Everyone
Note that the valid value for user
actually depends on your system language (Everyone
for English, Jeder
for German).
Basing on @jgillich answer, I propose to do the following:
netsh http add urlacl url=http://+:80/ sddl=D:(A;;GX;;;S-1-1-0)
sddl
argument will be virtually the same as user
, but you don't need to think of a localized group name. So, it's more universal.