SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using SharePoint 2013 on prem and have stored some script files under _catalogs/masterpage where the master page that I'm using is stored.

I've enabled anonymous access to the site and the master page folder have also unique permissions to allow anonymous access.

Even so the scripts are not loaded for anonymous users, I'm getting 401 Unauthorized error.

What I'm missing here? Do I need to grant permissions for anonymous users somewhere else?

Thanks in advance

share|improve this question
up vote 7 down vote accepted

Make sure that the script files are checked in, published and approved.

share|improve this answer
Thank you, I was missing the check in. – Joao Ferreira Apr 18 '13 at 9:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.