We have SharePoint 2013 public faced web site.
IIS site settings:
- Anonymous authentication - Enabled
- Windows authentication - Enabled
Anonymous and authenticated users have ability to visit site. But if anonymous users try to visit layouts pages, for example - https://xxx/_layouts/15/settings.aspx?Source=xxx authentication window appears.
How to prevent authentication prompt and show standard 401 error?