Forum Discussion

Steve Borgwardt's avatar
Steve Borgwardt
Brass Contributor
May 02, 2017

Why are files in SiteCollectionImages in SharePoint Online (O365) anonymous for all tenants?

I just found that files of type images (.jpg, png) or .js files located in anyone's O365 tenant are served with no prompt for authentication. Just wondering if this was done for performance reason in publishing sites?

 

I tested uploading other documents like a .docx file, which then prompts for authentication. It appears to only affect the SiteCollectionImages doc library, and not the SiteCollectionDocuments library.

 

i.e. https://tenantName.sharepoint.com/SiteCollectionImages/mylogo.png is publicly accessible, no auth.

 

If this is by design, I think it would make sense to notify tenant admins when creating a SharePoint online site, that any image or JavaScript files would be exposed anonymously if you have the full URL of the asset.

 

Thanks

Resources