I don't know about you, but I hate ACLs...
For Windows versions prior to Vista and according to this page I've got to do something like this in order to edit an ACL:
httpcfg set urlacl /u {http://URL:Port/ | https://URL:Port/} /aACL
where ACL should a SDDL string. Well, that's the part I HATE. I don't want to be a SDDL expert and I don't even want to understand them! Period!
It seems I'm not the only one who thinks like that. In his post, Paul gives two options how to edit an ACL in a more easier form:
- Read Keith Brown's post how to edit the ACL programmatically; (We could use this option in order to edit the ACL when installing the service)
- Use a little GUI application, called HttpNamespaceManager, that Paul developed. (I've already used it and it works smoothly)
Fortunately, the way how they are edited changed in Vista\Win2k8 OS:
netsh http add urlacl url=http://+:8080/MyUri user=DOMAIN\user
Hope this helps someone