How do DotNetOpenAuth whitelist and blacklists work?
- by Jeff
Does anyone have any documentation on DotNetOpenAuth and the way it handles while lists and black lists?
My config
<untrustedWebRequest>
<blacklistHosts>
<add name="*" />
</blacklistHosts>
<whitelistHosts>
<add name="www.mysite.ca" />
<add name="mysite.ca" />
<add name="devel.mysite.ca" />
<add name="devel.mysite.com" />
<add name="mysite.com" />
<add name="www.mysite.com" />
</whitelistHosts>
</untrustedWebRequest>
What I want is to have it cancel the request if it's any site not in the whilelist. I'm currently running version 2.5.49045 but plan to update soon.
using
<blacklistHostsRegex>
<add name=".*" />
</blacklistHostsRegex>
blocked ever site even ones in the whitelist.