Pro ASP.NET Web API Security: Securing ASP.NET Web API by Badrinarayanan Lakshmiraghavan

By Badrinarayanan Lakshmiraghavan

ASP.NET internet API is a key a part of ASP.NET MVC four and the platform of selection for construction RESTful providers that may be accessed through a variety of units. every little thing from JavaScript libraries to RIA plugins, RFID readers to shrewdpermanent telephones can devour your prone utilizing platform-agnostic HTTP.

With such vast accessibility, securing your code successfully has to be a most sensible precedence. you'll speedy locate that the WCF safety protocols you’re accustomed to from .NET are much less compatible than they as soon as have been during this new setting, proving themselves bulky and restricted by way of the factors they could paintings with.

Fortunately, ASP.NET internet API presents an easy, powerful safeguard resolution of its personal that matches well in the ASP.NET MVC programming version and secures your code with no the necessity for cleaning soap, that means that there's no restrict to the variety of units that it may well paintings with – if it might comprehend HTTP, then it may be secured by means of net API. those SOAP-less defense options are the point of interest of this e-book.

What you’ll learn:
• id administration and cryptography
• HTTP uncomplicated and digest authentication and home windows authentication
• HTTP complicated techniques resembling internet caching, ETag, and CORS
• possession elements of API keys, shopper X.509 certificate, and SAML tokens
• uncomplicated net Token (SWT) and signed and encrypted JSON internet Token (JWT)
• OAuth 2.0 from the floor up utilizing JWT because the bearer token
• OAuth 2.0 authorization codes and implicit delivers utilizing DotNetOpenAuth
• Two-factor authentication utilizing Google Authenticator
• OWASP best Ten hazards for 2013

Who this booklet is for:
No earlier adventure of .NET protection is required to learn this publication. All safety similar ideas could be brought from first-principles and constructed to the purpose the place you should use them hopefully in a qualified atmosphere. an exceptional operating wisdom of and event with C# and the .NET framework are the single must haves to profit from this booklet.

Table of Contents:
• Welcome to ASP.NET internet API
• construction RESTful prone
• Extensibility issues
• HTTP Anatomy and safeguard
• id administration
• Encryption and Signing
• customized STS via WIF
• wisdom components
• possession components
• internet Tokens
• OAuth 2.0 utilizing dwell attach API
• OAuth 2.0 From the floor Up 
• OAuth 2.0 utilizing DotNetOpenAuth
• Two-Factor Authentication
• safeguard Vulnerabilities
• Appendix: ASP.NET net API protection Distilled

Show description

Read or Download Pro ASP.NET Web API Security: Securing ASP.NET Web API PDF

Best nonfiction books

Beginning Relational Data Modeling (2nd Edition)

Facts garage layout, and knowledge of ways info should be applied inside of a company, is of leading significance in making sure that corporation facts structures paintings successfully. starting Relational facts Modeling will lead you step-by-step throughout the technique of constructing an efficient logical information version on your relational database version.

High Times Magazine, Issue 432 (January 2012)

Pot’s maximum Hits
Welcome to the huge international of stoner stats! because the breadth of our group is incredible, we determined the 1st factor of 2012 will be a great time to put down our offerings for the main extraordinary achievements within the marijuana international: the simplest, the worst, the most important, the most unearthly, and anything that struck our ganja-enhanced fancy.

Handel's Bestiary

Whilst acclaimed novelist Donna Leon isn't conjuring up stories of crime and corruption in Venice, or reveling in scrumptious delicacies, she is hearing tune. For Leon, consumer of conductor Alan Curtis and his celebrated orchestra Il Complesso Barocco, that sometimes capability the paintings of her favourite composer, George Frideric Handel.

Expert Resumes for Managers and Executives (3rd Edition)

This selection of resumes is geared toward humans in any respect degrees of administration, from front-line supervisors to top-level executives. as well as 1000's of pages of pattern resumes, the authors current sound resume writing suggestion, together with tips on how to create and use an digital resume. New for this variation: up to date info on on-line resume construction and distribution; up to date pattern resumes; resume questionnaire worksheet for cataloging event and accomplishments; resume energy verbs appendix.

Additional resources for Pro ASP.NET Web API Security: Securing ASP.NET Web API

Example text

Ideas of scientific reason, individualism, secular government, and primacy of law to societies seeking the West’s material progress but reluctant to sacrifice their cultural identites and political traditions. Managing the intensifying interaction of traditional political, religious, and cultural norms with the ideologies of the globalizing West will be a core challenge for many rapidly developing societies, affecting prospects for global and domestic governance and economic performance through 2030.

Absent a virulent pandemic (see box on page 14), global deaths from all communicable diseases— including AIDS, diarrhea, malaria, and respiratory infections—are projected to decline by nearly 30 percent by 2030, according to our modeling and other studies. AIDS appears to have hit its global peak— around 2 million deaths per year—in 2004. Great strides are being made toward wiping out malaria, but past periods of progress have sometimes given way in the face of donor fatigue and growing disease resistance to treatment.

By 2030, this arc will have contracted (see map on page 22). Due to fertility declines that are well under way today, the tally of countries with youthful populations is projected to fall to about 50 by 2030. a four Population age structures Age profiles of Japan illustrating the four categories of population age structures: Youthful, 1935 100+ 5-yr groups male 0-4 7 6 5 4 female 3 2 1 0 1 2 3 4 5 6 7 Percentage of total population The first globalization of the late 19th and early 20th centuries saw a massive movement of people within the European continent and from Europe to the New World.

Download PDF sample

Rated 4.73 of 5 – based on 48 votes