DotNetOpenID / DotNetOpenAuth
Posted
by Jeff
on Stack Overflow
See other posts from Stack Overflow
or by Jeff
Published on 2010-03-17T21:40:32Z
Indexed on
2010/03/17
22:01 UTC
Read the original article
Hit count: 616
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.
© Stack Overflow or respective owner