Security
In this section, you will learn the various techniques used to implement security in Azure App Services. It offers services that implement the industry-renowned OAuth 2.0 and OpenID Connect protocols and work with multiple identity providers. A quick definition of some of the terms used across this chapter are provided later for easier understanding.
- Identity provider: Services responsible for providing authentication tokens for users looking to interact with a system, for example, Facebook, Google, and Microsoft.
- OAuth: This is an open source protocol that allows users to share their private resources such as photos, videos, or contacts lists stored on a site to another site without having to hand out their password. For example, you sign up for a music streaming service, and it offers you an option to share your playlist with your friends. It redirects you to Facebook to log in and then you are asked if you want to share your friend list with the streaming service. You click on yes and then you are sent back to the music streaming service where you can now share your playlist with your friends.
- OpenID Connect: This is an identity layer on top of the OAuth 2.0 protocol. It allows clients to verify the identity of the user based on the authentication performed by an authorization server. Also, it can provide basic profile information about the end user using REST services. On the same lines as the earlier example, let's say you want to log in to your music streaming service where you are offered options to log in with an identity provider (for example, Facebook or Google). Once you click on it, you are redirected to the identity provider's site where you enter your credentials. After validating your credentials, you will be sent back to the music streaming service with the identity provider verifying your identity, and you will be able to log in to the site. OpenID is about authentication, whereas OAuth is about authorization. The difference is that OAuth is best suited for API authorization, whereas OpenID Connect is best for a single sign-on experience across multiple web Apps.
推薦閱讀
- 空間傳感器網(wǎng)絡(luò)復(fù)雜區(qū)域智能監(jiān)測(cè)技術(shù)
- JMAG電機(jī)電磁仿真分析與實(shí)例解析
- 傳感器技術(shù)應(yīng)用
- Mastering Machine Learning Algorithms
- 21天學(xué)通Java
- 塊數(shù)據(jù)5.0:數(shù)據(jù)社會(huì)學(xué)的理論與方法
- 基于32位ColdFire構(gòu)建嵌入式系統(tǒng)
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- Machine Learning with the Elastic Stack
- 基于Xilinx ISE的FPAG/CPLD設(shè)計(jì)與應(yīng)用
- 精通LabVIEW程序設(shè)計(jì)
- Windows安全指南
- Learning Apache Apex
- 貫通開(kāi)源Web圖形與報(bào)表技術(shù)全集
- 電腦故障排除與維護(hù)終極技巧金典