.NET exceptions I can throw for Not Authorized or Not Authenticated January 24, 2023 by Tarik You could also use UnauthorizedAccessException for authorization violations