Video Embed Playback Domain Restrictions via Azure Media Services Streaming - azure-media-services

Azure Media Services seems to have several ways to add Digital Rights Management (DRM) to videos. For my purposes, that seems a bit heavy handed, complex and possibly expensive.
Can I simply restrict which domains a given video can be embedded/played on? If so, what terminology should I be using to locate the documentation for this feature?
For example, Vimeo.com has a feature that allows me to select to embed a video only on sites I choose:

Domain-specific playback restriction is not currently supported on Azure Media Services.
The best alternative at this time would require setting up token authentication with a DRM policy and limiting authorized clients to those requesting from your desired domains.

Related

Headless ecommerce architecture with flexible RBAC

I'm creating a software marketplace web app, and looking for some insights and suggestions about the architecture.
I would like to be owner of the UI, so probably a headless approach is the way to go.
The basic requirements contains:
I need to have multiple external identity providers (custom sites, not like facebook or google)
I need to have at least three roles
simple users who can buy stuff
users who can upload things available for sale in the marketplace
administrators, who has to approve everything that is uploaded to the marketplace
Do modern ecommerce platforms allow limiting certain API-s based on custom user's roles? Or allow registering custom external identity providers?
If not, would it be a viable option to put the ecommerce API behind one of my own microservices and do RBAC in one of my on MS?
I generally would like to do most of the customizations of the ecommerce externally, in my own microservices, instead of within the ecommerce platform itself - so I'm not bound to any specific language or technology. I would like to host the site myself, in a containerized environment.
Additionally, any suggestions about a platform that would fit the use case mentioned above?

how to share data between apps using indexedDB in PWA projects

We have two different Progressive Web App projects and they are using IndexedDB for manipulating data.
We need to share data between these apps but IndexedDB seems to allocate separate storages in Browser for different apps.
I wonder how we can achieve this using PWA?
Any recommendation would be appreciated.
In general, the storage model for the web platform in general (not specific to progressive web apps) assumes that origins are boundary points, and that two web apps from different origins can't read each other's storage.
If you have two different web apps and you would like to ensure that they have access to each other's storage, the easiest approach would be to host them both on the same origin under two different URL prefixes, like https://example.com/app1/ and https://example.com/app2/.
If that approach doesn't work, then instead of relying on local storage like IndexedDB, you should consider using a remote backend storage solution. That would allow the same user across multiple web apps to authenticate and access the same remote storage.

Google cloud storage as the sole 'backend' for a static data powered application?

Can Google cloud storage be used in such an application without a proper http server (Traditional LAMP stack, GAE, etc.)?
If you're having a hard time wrapping your head around "static data powered application", think of it like a blog where you can only read the blog posts (i.e. no likes,comments or any kind of interaction) and which is managed by only one person who updates, adds or removes those blog posts.
The main concerns that I have are :
Read-only access from JavaScript at client side
Prevention against abuse (Does google automatically detect and ban an IP when it sends too many requests, so that the IP can't abuse bandwidth?)
I did some basic digging around the docs, but couldn't find the answer to these, possibly because not many have tried this, I guess.
The access question is already answered by Paul. You can add "read" permission to all users for your object. If you want to do so for all objects in a bucket, you can also set the default object ACL for the bucket to contain such permission.
Google does have abuse protection, but it's not designed for a specific service or resource, and the bar is pretty high given Google's global scale, so it probably won't help your specific use case.
Unfortunately you cannot set a maximum daily spending yet. The Google cloud platform team is always working on new features to help customers solve these issues, but I cannot comment on specific feature or timeline.

Cloud Content Management Systems

In search of a 'Cloud Content Management System' like http://osmek.com/,
I could not find a single other CCMS that does what I want it to do :)
Basically, what I need is content management without a website frontend attached.
Just basic storage of data, documents, images, etc. etc. with a simple API to access, like Osmek. Just NoSQL or SQL based services won't do, because there can be images or documents attached. And, ofcourse, I'd like to have a backend to manage the data (like a typical CMS does) without writing a backend myself (if it's just the service)
Osmek is great, and it works most awesome in conjunction with Actionscript 3, but I'm just looking / searching for alternatives (if there even are any yet).
I need this form of hosted content management for content-manageing a mobile application.
So the question is: Is there anything else out there that does the same as osmek that you know of? OR, how do you manage application specific content?
Thanks!
I'd encourage you to take a look at Cloud CMS (http://www.cloudcms.com).
Cloud CMS is a JSON content management (CMS) platform built on top of MongoDB with a REST API and drivers for a variety of languages. You just drop in a driver and call methods to query, create, update and delete content.
The platform provides everything you need to power the back-end for mobile and HTML5 applications - from managing your content to managing users and groups, credentials, security tokens (OAuth2), Git-like collaborative workspaces, real-time analytics, activities, data transformations and more.
Everything runs in the cloud on an elastic back-end. It's probably more akin to Parse than a traditional CMS. You just make calls to the APIs. We keep the costs low by letting you only pay for what you use (almost like a utility). You just pay for storage and data transfer.
Disclaimer: I'm one of the founders of Cloud CMS. So I'm a pretty lousy reference in terms of its objective value. However, a couple of us worked at traditional "ECM" companies in the past and we think we've built something that puts a genuine beating on those guys.

Choosing a Portal / CMS software for developing multi brand websites?

We are in the early stage of overhauling a multi-brand website built using a custom developed java mvc framework to enable web 2.0 features. Built-in features we are looking at are: i18n, sso, content search and indexing, personalization, mashup support, ajax support, rich media content storage and management support, friendly to search engine optimizations, bookmarkable URLs, support for social networking sites, support for page composition and decoration using templates.
A combination of these features are supported by many portal and cms software.
Any insights will be very helpful in using a portal/cms combination to address this requirements!
This is a follow-up on this post focusing on the portal/cms angle
we are developing the same sort of thing, we are using Umbraco, open source, by far the best opensource we have come across
Joomla comes to mind. The ability to skin and implement templates is a core strength of the product. You can create channels of content as well as enable varying levels of user customization via roles.
Another nice feature is that you can export your changes to your template. that way you can port your changes easily from QA to a customer site.
Finally, there is a very active community of extension developers with customizations, as well as numerous template designers.
If you require a Portal that does integrate with your CRM such as Salesforce and yet allows you to build a Mobile-Optimized branded portal for Customers, Partners or any other groups of users you can check out Magentrix:
www.magentrix.com