可以从中央位置访问多个网站集访问文件? [英] Multiple site collections access files from central location is it possible?

查看:90
本文介绍了可以从中央位置访问多个网站集访问文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找,但一直无法找到它。有没有办法可以将包含html和js文件的文档库放在SharePoint 2013网站集的中心位置,然后在不同网站集的内容编辑器Web部件中引用它?

I have been looking but have not been able to find it. Is there a way where you can put a document library containing html and js files in it in a central location in a SharePoint 2013 site collection and then just reference it in content editor web part in different site collections?

推荐答案

您可以使用网站集顶级站点中的站点资产库来存储这些文件。然后文件的任何子网站都应该能够(待读取权限)能够访问自定义js文件。



默认情况下HTML文件不会加载 SharePoint,它们将提示用户将其下载为潜在的安全向量。但是,这可以在管理中心/ Web应用程序设置中更改,但不建议并提出真正的安全威胁。



-DB
You could use the "Site Assets" library in the top level site of the site collection to store these files. Then any subsite of the files should be able to (pending read permission) be able to access the custom js files.

HTML files by default will not "load" in SharePoint, they will prompt the user to download them as its a potential security vector. However this can be changed in Central Administration / Web Application settings, but it is not advised and presents real security threats.

-DB


这篇关于可以从中央位置访问多个网站集访问文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆