简体   繁体   中英

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 ? 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM