Authentication and Windows Azure Mobile Services

In Chapter 10, “Using Windows Azure Mobile Services,” I demonstrated how you can use Windows Azure Mobile Services to store app data in the cloud. In particular, I showed you how you can create a Tasks database table hosted on Azure and execute inserts, updates, deletes, and queries from a Windows Store app using Mobile Services.

However, in that chapter, I avoided the whole issue of authentication. Anyone could read any data and make any changes to the Tasks table. Anyone could do anything, which is very dangerous.

In this section, I want to explain how you can use Live Connect authentication—which we discussed in the previous section—to control access to Mobile Services. I demonstrate how you ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.