Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想隐藏我在 Amazon S3 上托管的 URL 视频,以防止人们下载它们。
我看到了另一种策略(Amazon Bucket Policies),但我认为对于这种情况来说它太复杂了。
有可能隐藏那个吗?你对这个问题有什么建议?
除了开头的视频标签,您还可以有一个只有一个 id 的数据标签。然后,您可以在此 id 中引用,在 javascript 中进行比较并注入适当的视频 url。如前所述,没有真正的方法来保护它。使用我的方法,人们仍然可以使用 fiddler 来查看它在哪里被引用。他们还可以使用浏览器的开发工具。
How do I get the sum of numbers that are in an IEnumerable collection of objects? I know for sure that the underlying type will always be numeric but the type is determined at runtime.