<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Windows Store app - Authenticate and Authorize users with Server Scripts in Windows Azure Mobile Services</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Windows-Store-app-Authenticate-and-Authorize-users-with-Server-Scripts-in-Windows-Azure-Mobile-Servi/RSS"></atom:link>
	<image>
		<url>http://media.ch9.ms/ch9/950f/10d10331-93c2-4e0b-853f-21a22e39950f/MobileServicesAuthenticateAndAuthorizeUsers_220.jpg</url>
		<title>Channel 9 - Windows Store app - Authenticate and Authorize users with Server Scripts in Windows Azure Mobile Services</title>
		<link></link>
	</image>
	<description>Windows Azure Mobile Services enables authentication scenarios with popular social identity providers such as Microsoft Account, Twitter, Facebook and Google.&amp;nbsp; In this video Nick Harris&amp;nbsp;demonstrates how you can: Authenticate users of your Windows Store apps using their Microsoft Account Restrict access to insert/update/read and delete permissions on the tables within your Mobile service to authenticated users.&amp;nbsp; Add Server script to track which rows are inserted by authenticated users Add Server script that authorizes&amp;nbsp;users to only view data that they have inserted Get started with 10 Mobile Services for FREE&amp;nbsp;and try this scenario using the step-by-step&amp;nbsp;tutorials&amp;nbsp;tutorial part 1, tutorial part 2&amp;nbsp;or sample. Follow @cloudnick &amp;nbsp; </description>
	<link></link>
	<language>en</language>
	<pubDate>Sun, 26 May 2013 08:42:27 GMT</pubDate>
	<lastBuildDate>Sun, 26 May 2013 08:42:27 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Windows Store app - Authenticate and Authorize users with Server Scripts in Windows Azure Mobile Services</title>
		<description>
			<![CDATA[It&#39;s a shame that you don&#39;t go through server-side validation for update&#47;delete operations - since they would need to validate against the &#42;original&#42; version of the item, which is a little bit more complex than insert and read, they probably warrant some explanation of their own.<p>posted by Dan Bjorge</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Windows-Store-app-Authenticate-and-Authorize-users-with-Server-Scripts-in-Windows-Azure-Mobile-Servi#c634919395378239303</link>
		<pubDate>Mon, 24 Dec 2012 09:52:17 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Windows-Store-app-Authenticate-and-Authorize-users-with-Server-Scripts-in-Windows-Azure-Mobile-Servi#c634919395378239303</guid>
		<dc:creator>Dan Bjorge</dc:creator>
	</item>
	<item>
		<title>Re: Windows Store app - Authenticate and Authorize users with Server Scripts in Windows Azure Mobile Services</title>
		<description>
			<![CDATA[Dan,<br><br>good point, I tried something, but I don&#39;t know if this is the best solution<br><br>function update&#40;item, user, request&#41; &#123;<br>    var todoTable &#61; tables.getTable&#40;&#39;todoitem&#39;&#41;&#59;<br><br>    todoTable.where&#40;&#123;<br>        userId&#58; user.userId,<br>        id &#58; item.id<br>    &#125;&#41;.read&#40;&#123;<br>        success&#58; checkPermissions<br>    &#125;&#41;&#59;<br><br>    function checkPermissions&#40;results&#41; &#123;<br>        if &#40;results.length &#61;&#61; 1&#41; &#123;<br>            request.execute&#40;&#41;&#59;<br>        &#125; else &#123;<br>            console.log&#40;&#39;User &#37;s attempted to submit an order without permissions.&#39;, user.userId&#41;&#59;<br>            request.respond&#40;statusCodes.FORBIDDEN, &#39;You do not have permission to update item with ID &#37;d.&#39;, item.id&#41;&#59;<br>        &#125;<br>    &#125;<br>&#125;<p>posted by Andre Steenbergen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Windows-Store-app-Authenticate-and-Authorize-users-with-Server-Scripts-in-Windows-Azure-Mobile-Servi#c634946336394760103</link>
		<pubDate>Thu, 24 Jan 2013 14:13:59 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Windows-Store-app-Authenticate-and-Authorize-users-with-Server-Scripts-in-Windows-Azure-Mobile-Servi#c634946336394760103</guid>
		<dc:creator>Andre Steenbergen</dc:creator>
	</item>
</channel>
</rss>