Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

Authenticate in your Marketplace App

Updated: February 12, 2014


DataMarket Logo

Every access to a Marketplace dataset, whether free or paid, must authenticate the user before access is granted. When you create an application the authentication process must be included in your code. Marketplace provides two means of authenticating access:

  • HTTP Basic Authentication

  • OAuth Authentication

Which you use depends on the expected use of your application.


Link Description

Select an Authentication Protocol

Determine which Marketplace supported authentication protocol best fits your program needs.

Implement OAuth in your Marketplace App

OAuth permits your application to be widely distributed and used with each user paying for their own use.

Implement HTTP Basic Auth in your Marketplace App

HTTP Basic Authentication should be used only under specific application conditions. This article explains which uses are reasonable for HTTP Basic Authentication and how to implement it in your application.

HTTP Basic Authentication passes a User ID and Password over https to the Marketplace. Use HTTP Basic Authentication only if:

  • It is safe to hard-code (and thus potentially expose) your account key in the application, and

  • It is acceptable that all access to the Marketplace datasets be charged to your account, and

  • You will not need to remove access from some users while not affecting access of others, or

  • If you will require each user to enter their own ID and private Marketplace account key, such as KufDkfLk39-xMwqFGCvDFq3-6rXcvGF+Wxc73z1hhJ whenever they attempt to access a dataset.