SlideShare une entreprise Scribd logo
1  sur  39
1
Starting at 7 PM IST
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Session 4
AZ-204: Implement Azure
security
2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AzureTalk Core Team
3
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Today’s Session Speaker
Sanjib Panigrahi
AzureEzy Core Team
MCP, Sr Software Engineer
4
Vipin Jha
AzureEzy Core Team
Consultant, MCT
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Win Azure Exam Vouchers
• Participate in quiz during session
• 6 Selected participants will get free Azure
Exam Vouchers
• 1 selected participant will get free print copy
of Demystifying Azure DevOps Services
• Must be registered on Eventbrite
• Winner will be announced in next session
• #AzureEzy
5
Free Azure Exam
Vouchers
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Developer Associate- Cert Path
6
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-204: Skills Measured
• Develop Azure compute solutions (25-30%)
• Develop for Azure storage (15-20%)
• Implement Azure security (20-25%)
• Monitor, troubleshoot, and optimize Azure
solutions (15-20%)
• Connect to and consume Azure services and third-
party services (15-20%)
7
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Prerequisites
• Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal
• Experience writing in an Azure supported language at the intermediate
level. (C#, JavaScript, Python, or Java)
• Ability to write code to connect and perform operations on, a SQL or
NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or
similar)
• Experience writing code to handle authentication, authorization, and
other security principles at the intermediate level
• Understanding of HTML, HTTP protocol and REST API interfaces
8
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Agenda
•Implement user authentication and authorization
•Microsoft Identity Platform v2.0
•Authentication using the Microsoft Authentication Library
•Using Microsoft Graph
•Authorizing data operations in Azure Storage
•Implement secure cloud solutions
•Manage keys, secrets, and certificates by using the KeyVault API
•Implement Managed Identities for Azure resources
•Secure app configuration data by using Azure App Configuration
9
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Identity Platform
v2.0
10
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Identity Platform
11
• Authentication service
• Users/Customer sign in with Microsoft identities or social accounts
• Provide authorized access
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Components
12
• OAuth 2.0 and OpenID Connect Supported
• Open-source libraries: Microsoft Authentication Libraries (MSAL) and
support for other standards-compliant libraries
• Application management portal
• Application configuration API and PowerShell
• Developer content
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Authentication Library
14
• Acquire tokens from Microsoft identity platform
• Secure Access To Microsoft Graph, Microsoft APIs, Third-party Web
API
• Supports many application Platforms .Net, Javascript, Java, Python,
Android
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
MSAL Benefits
15
• Acquires and maintain tokens
• Handle token expiration Automatically
• Specify audience for application sign in
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
ADAL and MSAL
• AADL V1.0
• Supports work accounts,
• Doesn’t support personal accounts
• MSAL v2.0
• Support Microsoft personal accounts, work account
• Get authentications for Azure AD B2C, Facebook, Google etc.
16
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
19
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
• Gateway to data in Microsoft 365
• Use to access data in Microsoft 365, Windows 10, and Enterprise
Mobility + Security
• Use data to build apps for organizations and consumers
20
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
21
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Authorizing data operations
in Azure Storage
22
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Access Data in Azure Storage
23
Shared Key
(storage
account key)
Shared access
signature (SAS)
Azure Active
Directory
(Azure AD)
On-premises
AD
Anonymous
public read
access
Azure Blobs Supported Supported Supported Not Supported Supported
Azure Files
(SMB)
Supported Not Supported Supported, only
with AAD
Domain
Services
Supported,
credentials must
be synced to
Azure AD
Not Supported
Azure Files
(REST)
Supported Supported Not Supported Not Supported Not Supported
Azure Queues Supported Supported Supported Not Supported Not Supported
Azure Tables Supported Supported Not Supported Not Supported Not Supported
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Storage Account Access Keys
• Created during Storage account creation
• Two 512-bit storage account access keys
• Authorize access to storage account
• Similar to root password of storage account
• Be careful to protect your access keys
• Use Azure Key Vault to manage and rotate access keys
24
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Shared Access Signature (SAS)
• String contains security token that can be attached to a URI
• Delegated access to resources in storage account
• Granular control
• Resources access
• Permissions on resources
• SAS is validity
25
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
SAS Example
https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=20
19-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-
30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-
168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P
9ZUXDtkk%3D
26
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
CORS
• HTTP feature enables web application from one domain to access
resources in another domain
• Set CORS rules for
• Blob
• File
• Table
• Queue
27
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Manage keys, secrets, and
certificates by using the
KeyVault API
28
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Key Vault
• Secrets Management
• Key Management
• Certificate Management
29
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Key Vault Benefits
• Increase security and control over keys and
passwords
• Create and import encryption keys in
minutes
• Applications have no direct access to keys
• Use FIPS 140-2 Level 2 and Level 3 validated
HSMs
• Reduce latency with cloud scale and global
redundancy
• Simplify and automate tasks for SSL/TLS
certificates
30
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Key Vault Authentication
• Managed identities for Azure resources
• Service principal and certificate
• Service principal and secret
31
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Implement Managed
Identities for Azure resources
32
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Managed Identities
• Identity for applications for Azure AD authentication
• Applications may use managed identity
• To obtain Azure AD tokens
• To access resources like Azure Key Vault where developers can store credentials in a
secure manner or to access storage accounts
33
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Managed Identities Types
• System-assigned
• Identity directly on a service instance
• Tied to lifecycle of service instance
• Automatically deletes identity with service deletion
• User-assigned
• Created as a standalone Azure resource
• Assign it to one or more instances
• Managed separately from resources
34
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
System-Assigned Managed Identity
35
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Secure app configuration
data by using Azure App
Configuration
36
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure App Configuration
• Service to centrally manage application settings
and feature flags
• Store all the settings for your application
• Encryption of sensitive information at rest and
in transit
• Native integration with popular frameworks
37
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Break
38
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Demo
1. Authenticating to and querying Microsoft Graph by using MSAL
and .NET SDKs
1. Create an Azure Active Directory (Azure AD) application registration
2. Obtain a token by using the MSAL.NET library
3. Query Microsoft Graph by using the .NET SDK
2. Access resource secrets more securely across services
1. Configure secrets and identities
2. Build an Azure Functions app
3. Access Azure Blob Storage data
39
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Quiz
42
https://q.azureezy.com/az-204
Free Azure Exam Vouchers
Winners' announcement in next session on 18th July 2021
Register for next session at azureezy.com/az-204
Update your skills on LinkedIn and enter a chance to win
Surface Go!!
More info @ https://azureezy.com/azure-skills-feb21
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Winners Announcements
• Winners for Previous Session “Develop for Azure storage”
43
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
44
https://bharatguru.in
https://www.linkedin.com/in/vipinkumarjha/
https://www.linkedin.com/in/ashishrajsrivastava
https://azuredevopspro.com
https://youtube.com/AshishRajSrivastava
@ashishrajs
https://www.linkedin.com/in
/sanjibpanigrahi/
Thanks!
https://azureezy.com/az-204
https://t.me/AzureTalk
https://youtube.com/AzureTalk
https://t.me/AzureDevOpsPro

Contenu connexe

Tendances

Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
Amazon Web Services
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Simplilearn
 

Tendances (20)

Well Architected Framework - Data
Well Architected Framework - Data Well Architected Framework - Data
Well Architected Framework - Data
 
Fundamentals of AWS Security
Fundamentals of AWS SecurityFundamentals of AWS Security
Fundamentals of AWS Security
 
Understanding Azure AD
Understanding Azure ADUnderstanding Azure AD
Understanding Azure AD
 
Microsoft Azure - Introduction to microsoft's public cloud
Microsoft Azure - Introduction to microsoft's public cloudMicrosoft Azure - Introduction to microsoft's public cloud
Microsoft Azure - Introduction to microsoft's public cloud
 
Azure storage
Azure storageAzure storage
Azure storage
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
 
Introduction to Amazon Athena
Introduction to Amazon AthenaIntroduction to Amazon Athena
Introduction to Amazon Athena
 
Introduce AWS Lambda for newbie and Non-IT
Introduce AWS Lambda for newbie and Non-ITIntroduce AWS Lambda for newbie and Non-IT
Introduce AWS Lambda for newbie and Non-IT
 
An introduction to AWS Direct Connect
An introduction to AWS Direct ConnectAn introduction to AWS Direct Connect
An introduction to AWS Direct Connect
 
Azure Identity and access management
Azure   Identity and access managementAzure   Identity and access management
Azure Identity and access management
 
Introduction to Azure monitor
Introduction to Azure monitorIntroduction to Azure monitor
Introduction to Azure monitor
 
Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database, Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database,
 
Azure Migrate
Azure MigrateAzure Migrate
Azure Migrate
 
Azure security and Compliance
Azure security and ComplianceAzure security and Compliance
Azure security and Compliance
 
Deploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control Tower
 
CAF presentation 09 16-2020
CAF presentation 09 16-2020CAF presentation 09 16-2020
CAF presentation 09 16-2020
 
Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar
Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar
Azure Cloud Adoption Framework + Governance - Sana Khan and Jay Kumar
 
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
 
Azure Governance
Azure GovernanceAzure Governance
Azure Governance
 

Similaire à AZ-204 : Implement Azure security

Windows Azure Active Directory: Identity Management in the Cloud
Windows Azure Active Directory: Identity Management in the CloudWindows Azure Active Directory: Identity Management in the Cloud
Windows Azure Active Directory: Identity Management in the Cloud
Chris Dufour
 

Similaire à AZ-204 : Implement Azure security (20)

Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2
 
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure services
 
Az 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoring
 
Az 104 session 4: azure storage
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storage
 
Azure - Identity as a service
Azure - Identity as a serviceAzure - Identity as a service
Azure - Identity as a service
 
Az 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and container
 
AZ-204: Connect to and consume Azure services and third-party services - Part 1
AZ-204: Connect to and consume Azure services and third-party services - Part 1AZ-204: Connect to and consume Azure services and third-party services - Part 1
AZ-204: Connect to and consume Azure services and third-party services - Part 1
 
AZ-400 Session 1: Facilitate communication and collaboration
AZ-400 Session 1: Facilitate communication and collaborationAZ-400 Session 1: Facilitate communication and collaboration
AZ-400 Session 1: Facilitate communication and collaboration
 
Develop for Azure storage
Develop for Azure storageDevelop for Azure storage
Develop for Azure storage
 
AZ-400: Define and implement a continuous delivery and release management str...
AZ-400: Define and implement a continuous delivery and release management str...AZ-400: Define and implement a continuous delivery and release management str...
AZ-400: Define and implement a continuous delivery and release management str...
 
Secure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azure
 
BlueHat Seattle 2019 || I'm in your cloud: A year of hacking Azure AD
BlueHat Seattle 2019 || I'm in your cloud: A year of hacking Azure ADBlueHat Seattle 2019 || I'm in your cloud: A year of hacking Azure AD
BlueHat Seattle 2019 || I'm in your cloud: A year of hacking Azure AD
 
EWUG 2018 February the journey continues.....
EWUG 2018 February   the journey continues.....EWUG 2018 February   the journey continues.....
EWUG 2018 February the journey continues.....
 
Windows Azure Active Directory: Identity Management in the Cloud
Windows Azure Active Directory: Identity Management in the CloudWindows Azure Active Directory: Identity Management in the Cloud
Windows Azure Active Directory: Identity Management in the Cloud
 
Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2
 
AZ-400: Define and implement continuous integration – Part 2
AZ-400: Define and implement continuous integration – Part 2AZ-400: Define and implement continuous integration – Part 2
AZ-400: Define and implement continuous integration – Part 2
 
Az 104 session 3 azure compute
Az 104 session 3 azure compute Az 104 session 3 azure compute
Az 104 session 3 azure compute
 
Building Hybrid Cloud Apps with Azure and Azure stack
Building Hybrid Cloud Apps with Azure and Azure stackBuilding Hybrid Cloud Apps with Azure and Azure stack
Building Hybrid Cloud Apps with Azure and Azure stack
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

AZ-204 : Implement Azure security

  • 2. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Session 4 AZ-204: Implement Azure security 2
  • 3. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! AzureTalk Core Team 3
  • 4. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Today’s Session Speaker Sanjib Panigrahi AzureEzy Core Team MCP, Sr Software Engineer 4 Vipin Jha AzureEzy Core Team Consultant, MCT
  • 5. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Win Azure Exam Vouchers • Participate in quiz during session • 6 Selected participants will get free Azure Exam Vouchers • 1 selected participant will get free print copy of Demystifying Azure DevOps Services • Must be registered on Eventbrite • Winner will be announced in next session • #AzureEzy 5 Free Azure Exam Vouchers
  • 6. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Developer Associate- Cert Path 6
  • 7. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! AZ-204: Skills Measured • Develop Azure compute solutions (25-30%) • Develop for Azure storage (15-20%) • Implement Azure security (20-25%) • Monitor, troubleshoot, and optimize Azure solutions (15-20%) • Connect to and consume Azure services and third- party services (15-20%) 7
  • 8. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Prerequisites • Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal • Experience writing in an Azure supported language at the intermediate level. (C#, JavaScript, Python, or Java) • Ability to write code to connect and perform operations on, a SQL or NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or similar) • Experience writing code to handle authentication, authorization, and other security principles at the intermediate level • Understanding of HTML, HTTP protocol and REST API interfaces 8
  • 9. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Agenda •Implement user authentication and authorization •Microsoft Identity Platform v2.0 •Authentication using the Microsoft Authentication Library •Using Microsoft Graph •Authorizing data operations in Azure Storage •Implement secure cloud solutions •Manage keys, secrets, and certificates by using the KeyVault API •Implement Managed Identities for Azure resources •Secure app configuration data by using Azure App Configuration 9
  • 10. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Identity Platform v2.0 10
  • 11. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Identity Platform 11 • Authentication service • Users/Customer sign in with Microsoft identities or social accounts • Provide authorized access
  • 12. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Components 12 • OAuth 2.0 and OpenID Connect Supported • Open-source libraries: Microsoft Authentication Libraries (MSAL) and support for other standards-compliant libraries • Application management portal • Application configuration API and PowerShell • Developer content
  • 13. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Authentication Library 14 • Acquire tokens from Microsoft identity platform • Secure Access To Microsoft Graph, Microsoft APIs, Third-party Web API • Supports many application Platforms .Net, Javascript, Java, Python, Android
  • 14. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! MSAL Benefits 15 • Acquires and maintain tokens • Handle token expiration Automatically • Specify audience for application sign in
  • 15. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! ADAL and MSAL • AADL V1.0 • Supports work accounts, • Doesn’t support personal accounts • MSAL v2.0 • Support Microsoft personal accounts, work account • Get authentications for Azure AD B2C, Facebook, Google etc. 16
  • 16. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph 19
  • 17. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph • Gateway to data in Microsoft 365 • Use to access data in Microsoft 365, Windows 10, and Enterprise Mobility + Security • Use data to build apps for organizations and consumers 20
  • 18. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph 21 Reference : Microsoft Docs
  • 19. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Authorizing data operations in Azure Storage 22
  • 20. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Access Data in Azure Storage 23 Shared Key (storage account key) Shared access signature (SAS) Azure Active Directory (Azure AD) On-premises AD Anonymous public read access Azure Blobs Supported Supported Supported Not Supported Supported Azure Files (SMB) Supported Not Supported Supported, only with AAD Domain Services Supported, credentials must be synced to Azure AD Not Supported Azure Files (REST) Supported Supported Not Supported Not Supported Not Supported Azure Queues Supported Supported Supported Not Supported Not Supported Azure Tables Supported Supported Not Supported Not Supported Not Supported
  • 21. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Storage Account Access Keys • Created during Storage account creation • Two 512-bit storage account access keys • Authorize access to storage account • Similar to root password of storage account • Be careful to protect your access keys • Use Azure Key Vault to manage and rotate access keys 24
  • 22. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Shared Access Signature (SAS) • String contains security token that can be attached to a URI • Delegated access to resources in storage account • Granular control • Resources access • Permissions on resources • SAS is validity 25
  • 23. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! SAS Example https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=20 19-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04- 30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60- 168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P 9ZUXDtkk%3D 26
  • 24. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! CORS • HTTP feature enables web application from one domain to access resources in another domain • Set CORS rules for • Blob • File • Table • Queue 27
  • 25. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Manage keys, secrets, and certificates by using the KeyVault API 28
  • 26. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure Key Vault • Secrets Management • Key Management • Certificate Management 29
  • 27. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure Key Vault Benefits • Increase security and control over keys and passwords • Create and import encryption keys in minutes • Applications have no direct access to keys • Use FIPS 140-2 Level 2 and Level 3 validated HSMs • Reduce latency with cloud scale and global redundancy • Simplify and automate tasks for SSL/TLS certificates 30 Reference : Microsoft Docs
  • 28. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Key Vault Authentication • Managed identities for Azure resources • Service principal and certificate • Service principal and secret 31
  • 29. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Implement Managed Identities for Azure resources 32
  • 30. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Managed Identities • Identity for applications for Azure AD authentication • Applications may use managed identity • To obtain Azure AD tokens • To access resources like Azure Key Vault where developers can store credentials in a secure manner or to access storage accounts 33
  • 31. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Managed Identities Types • System-assigned • Identity directly on a service instance • Tied to lifecycle of service instance • Automatically deletes identity with service deletion • User-assigned • Created as a standalone Azure resource • Assign it to one or more instances • Managed separately from resources 34
  • 32. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! System-Assigned Managed Identity 35 Reference : Microsoft Docs
  • 33. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Secure app configuration data by using Azure App Configuration 36
  • 34. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure App Configuration • Service to centrally manage application settings and feature flags • Store all the settings for your application • Encryption of sensitive information at rest and in transit • Native integration with popular frameworks 37
  • 35. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Break 38
  • 36. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Demo 1. Authenticating to and querying Microsoft Graph by using MSAL and .NET SDKs 1. Create an Azure Active Directory (Azure AD) application registration 2. Obtain a token by using the MSAL.NET library 3. Query Microsoft Graph by using the .NET SDK 2. Access resource secrets more securely across services 1. Configure secrets and identities 2. Build an Azure Functions app 3. Access Azure Blob Storage data 39
  • 37. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Quiz 42 https://q.azureezy.com/az-204 Free Azure Exam Vouchers Winners' announcement in next session on 18th July 2021 Register for next session at azureezy.com/az-204 Update your skills on LinkedIn and enter a chance to win Surface Go!! More info @ https://azureezy.com/azure-skills-feb21
  • 38. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Winners Announcements • Winners for Previous Session “Develop for Azure storage” 43
  • 39. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! 44 https://bharatguru.in https://www.linkedin.com/in/vipinkumarjha/ https://www.linkedin.com/in/ashishrajsrivastava https://azuredevopspro.com https://youtube.com/AshishRajSrivastava @ashishrajs https://www.linkedin.com/in /sanjibpanigrahi/ Thanks! https://azureezy.com/az-204 https://t.me/AzureTalk https://youtube.com/AzureTalk https://t.me/AzureDevOpsPro