News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
Accessing OData for SQL Azure with AppFabric Access Control and PHP
September 03, 2010 @ 13:42:15

Brian Swan has a new post to his blog today about consuming protected feeds of OData coming from SQL Azure in a PHP application.

I did write a post a few weeks ago that described how to enable anonymous access to SQL Azure OData feeds (Consuming SQL Azure Data with the OData SDK for PHP), but I had a few things to learn about AppFabric access control before I felt comfortable writing about authenticated access to these feeds.

He starts from the Azure side, creating a sample OData feed and adding permissions to only allow access to a specific (database) user for the feed. You'll use a set of data to connect to the feed - a username, a secret key, an issuer name and the OData endpoint address. Then, using the OData SDK he shows how to generate the needed classes with the automatic tool and use them to connect to the endpoint and retrieve data from the feed. He also includes a little snippet for those that might not want to use the SDK - an example using curl to connect and authorize the session.

0 comments voice your opinion now!
azure appfabric access control tutorial microsoft odata feed


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 1 - Switch Template Plugins at Will

Josh Holmes' Blog: Creating a Simple PHP Blog in Azure

SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 2

James Morris' Blog: Deploy a Silex App Using Git Push

PHPMaster.com: Proc_Open: Communicate with the Outside World


Community Events





Don't see your event here?
Let us know!


series developer introduction threedevsandamaybe bugfix list language library wordpress podcast laravel community install api interview configure application code symfony release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework