ASP.NET Authorization what does the * and ? mean?
-
10-07-2019 - |
Question
In ASP.NET I often see (and have copied the following) but never really understood the difference between the * and ? symbols.
for example
<system.web>
<authorization>
<deny users="*" />
<deny users="?" />
</authorization>
</system.web>
Just wondering if anyone can tell me the difference?
Cheers.
Solution
?
means anonymous users.
*
means all users.
OTHER TIPS
The * is a wildcard meaning "everyone", ? means anonymous users.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow