是否有可能天蓝CDN仅由特定域使用? [英] is it possible that the azure CDN is only used by a specific domain?

查看:73
本文介绍了是否有可能天蓝CDN仅由特定域使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的想法是(可能是通过自定义标题)CDN仅显示来自特定网站的请求的内容。



我解释:


网站( mydomain.com )需要请求一些由azure CDN分发的视频。



如果请求是由 mydomain.com 发出的,CDN会发布内容。



如果请求是在网站外发出的,CDN将阻止显示内容。



tks

解决方案

< blockquote>

我认为你可以在你的场景中使用CORS。 



这是参考文档:  https:/ /docs.microsoft.com/en-us/azure/cdn/cdn-cors



---------------------- -------------------------------------------------- -----------------------------------


如果您发现这篇文章有帮助,请给它一个"有用的"投票。 


如果有帮助,请记得将回复标记为答案。


< cite style =" margin:0in; font-family:Calibri; font -size:9.0pt;颜色:#595959;"> < / cite>



my idea is (perhaps by a custom header) that the CDN only shows content for requests coming from a specific site.

I explain:

the site (mydomain.com) needs to request some video that is distributed by azure CDN.

if the request is made by mydomain.com, CDN releases the content.

if the request is made outside the site, CDN will block the display of the content.

tks

解决方案

I think you can use CORS for your scenario. 

Here is the reference document: https://docs.microsoft.com/en-us/azure/cdn/cdn-cors

-----------------------------------------------------------------------------------------------------------

If you found this post helpful, please give it a "Helpful" vote. 

Please remember to mark the replies as answers if they help.

<cite style="margin:0in;font-family:Calibri;font-size:9.0pt;color:#595959;"> </cite>


这篇关于是否有可能天蓝CDN仅由特定域使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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