Sekhat
Sekhat

Reputation: 4489

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.

Upvotes: 3

Views: 556

Answers (2)

Oded
Oded

Reputation: 499212

The * is a wildcard meaning "everyone", ? means anonymous users.

Upvotes: 1

Samantha Branham
Samantha Branham

Reputation: 7451

? means anonymous users.

* means all users.

Upvotes: 5

Related Questions