[英]ASP.NET Authorization what does the * and ? mean?
In ASP.NET I often see (and have copied the following) but never really understood the difference between the * and ? 在ASP.NET中,我经常看到(并复制了以下内容),但从未真正理解*和?之间的区别。 symbols. 符号。
for example 例如
<system.web>
<authorization>
<deny users="*" />
<deny users="?" />
</authorization>
</system.web>
Just wondering if anyone can tell me the difference? 只是想知道是否有人可以告诉我差异?
Cheers. 干杯。
?
means anonymous users. 表示匿名用户。
*
means all users. *
表示所有用户。
The * is a wildcard meaning "everyone", ? *是一个通配符,意思是“每个人”,? means anonymous users. 表示匿名用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.