By Rajesh Gunasundaram
Take the protection of your ASP.NET net API to the following point utilizing essentially the most impressive safety suggestions around
About This Book
- This e-book has been thoroughly up-to-date for ASP.NET net API 2.0 together with the hot gains of ASP.NET net API equivalent to Cross-Origin source Sharing (CORS) and OWIN self-hosting
- Learn quite a few innovations to safe ASP.NET net API, together with easy authentication utilizing authentication filters, kinds, home windows Authentication, exterior authentication prone, and integrating ASP.NET's identification system
- An easy-to-follow advisor to let SSL, hinder Cross-Site Request Forgery (CSRF) assaults, and let CORS in ASP.NET internet API
Who This booklet Is For
This booklet is meant for somebody who has earlier wisdom of constructing ASP.NET net API functions. solid operating wisdom and event with C# and.NET Framework are necessities for this book.
What you are going to Learn
- Secure your internet API by way of allowing Secured Socket Layer (SSL)
- Manage your application's person debts through integrating ASP.NET's identification system
- Ensure the protection of your net API via imposing easy authentication
- Implement kinds and home windows authentication to safe your internet API
- Use exterior authentication reminiscent of fb and Twitter to authenticate a request to an internet API
- Protect your internet API from CSRF attacks
- Enable CORS on your internet API to explicitly let a few cross-origin requests whereas rejecting others
- Fortify your net API utilizing OAuth2
This booklet accommodates the recent positive aspects of ASP.NET internet API 2 to help you to safe an ASP.NET internet API and make a well-informed choice while selecting the right safety mechanism to your safety requirements.
We commence via displaying you the way to establish a browser consumer to make use of ASP.NET internet API providers. We then disguise ASP.NET net API's protection structure, authentication, and authorization that can assist you safe an internet API from unauthorized clients. subsequent, you are going to methods to use SSL with ASP.NET internet API, together with utilizing SSL customer certificate, and combine the ASP.NET id procedure with ASP.NET internet API.
We'll enable you safe an online API utilizing OAuth2 to authenticate opposed to a club database utilizing OWIN middleware. it is possible for you to to take advantage of neighborhood logins to ship authenticated requests utilizing OAuth2. We additionally clarify the way to safe an internet API utilizing kinds authentication and the way clients can log in with their home windows credentials utilizing built-in home windows authentication. you'll come to appreciate the necessity for exterior authentication providers to permit OAuth/OpenID and social media authentication. we will then assist you enforce anti-Cross-Site Request Forgery (CSRF) measures in ASP.NET internet API.
Finally, you can find tips to allow Cross-Origin source Sharing (CORS) on your net API application.
Style and approach
Each bankruptcy is devoted to a selected safeguard procedure, in a task-based and easy-to-follow means. many of the chapters are followed with resource code that demonstrates the step by step directions of imposing the process, and comprises a proof of ways each one process works.
Read or Download ASP.NET Web API Security Essentials PDF
Similar application development books
This sensible instructional walks during the new good points of the Lotus Notes/Domino eight. five. three suite and records technical gains in a descriptive method, with examples and important screenshots. The ebook additionally discusses most probably difficulties chances are you'll face whereas upgrading, and exhibits you the way to get the main out of the interesting new positive factors.
This e-book begins by way of instructing you the necessities of the Intel Galileo board, its parts, how you can cord it, and the way to take advantage of it correctly. The booklet will educate you ways to exploit and mix basic sensors to construct extra advanced attached gadgets with assistance from a web connection. you are going to additionally how to regulate and browse out of your sensors by way of development a couple of fascinating tasks.
How are you going to layout expertise that turns into part of a user’s lifestyles and never a distraction from it? This useful booklet explores the concept that of calm expertise, a mode for easily shooting a user’s consciousness in simple terms while helpful, whereas frivolously ultimate within the historical past more often than not. You’ll the way to layout items that paintings good, release good, are effortless to aid, effortless to exploit, and stay unobtrusive.
Key FeaturesLearn the speculation and instruments in the back of app improvement utilizing fast three and Xcode 8Build an absolutely featured iOS app, together with a better half app for the Apple WatchOptimize, debug, and finally unencumber your app on TestFlight and the App StoreBook DescriptionOver the previous few years, we have seen a step forward in cellular computing and the start of world-changing cellular apps.
Additional resources for ASP.NET Web API Security Essentials