steve cook
steve cook

Reputation: 3224

ASP.NET authorisation allow "*" vs "?"

If I set an all-users authorization rule e.g. <allow users="*"/> does this also allow anonymous users (ie. ones that haven't logged in) to see the resource?

How about vice-versa - if I allow anonymous users with "?" can all logged in users also see it?

Upvotes: 1

Views: 212

Answers (1)

juhan_h
juhan_h

Reputation: 4021

  1. Yes - * means absolutely anybody.
  2. Yes - ? means anonymous users from which all users "inherit".

Difference is mentioned in ASP.NET Authorization article.

Upvotes: 2

Related Questions