如何根据流视频的人来限制资产/视频? [英] How to restrict assets/videos based on whoever is streaming the video?

查看:56
本文介绍了如何根据流视频的人来限制资产/视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我在想,是否有某种方法可以保护AMS中的视频,从而允许某人访问自己的视频,而不是在Media Services中查看不属于他们的其他视频.我四处逛逛,看看是什么 Microsoft已经提供的保护,但是我无法想象它们适合我的特定情况.

I was wondering if there was some way of protecting videos within AMS, which will allow someone to access their own videos, instead of viewing other videos within Media Services that do not belong to them. I've looked around on the sites, just to see what protection that Microsoft already supplies, but I cannot imagine these being suited for my specific scenario.

  • 如果人员A尝试访问AMS中托管的人员A的视频/资产,那么他们将能够在媒体播放器中查看它.
  • 如果人员A尝试访问人员B的视频/资产
  • 如果人员B尝试访问人员A托管在AMS中的视频/资产,则他们将无法查看该资产的内容.
  • 如果人员B尝试访问AMS中托管的人员B的视频/资产,那么他们将能够在Media Player中查看它.

有人会知道这样做的正确方法是什么,或者可以向我指出一些可以帮助我实现这一目标的示例/资源吗?


Would anyone know what the correct way of doing this, or can point me towards some examples/resources that could help me achieve this goal?


推荐答案

答案是,您可以在自己的应用程序中自行管理这些权利和权限,并且1)仅列出该所有者拥有的视频的URL上传者或2)使用AES/DRM保护内容,并仅授权对上传者的内容请求 拥有. #2当然是#1的变体.通常,您使用自己的数据库并跟踪AssetID,将资产AlternateID映射到您自己的数据库密钥,可能具有映射到您的用户表的用户帐户ID字段.当有人浏览时 他们自己的视频,您只需查询您的用户ID是该用户的资产列表即可.
The answer is that you'd manage those rights and permissions yourself in your own application and 1) only list the URLs to the videos owned by the uploader or 2) use AES/DRM to protect the content and only authorize requests for content that the uploader owns.  #2 is of course a variation of #1.  Typically you use your own database and track the AssetID, map the asset AlternateID to your own database key, probably have a user account ID field that maps to your user table.  And when someone browses their own videos you just query your asset list where the user ID is that user.


这篇关于如何根据流视频的人来限制资产/视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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