Access Control in Android Course

You have learned many ways to protect data. You can now expand your security efforts by controlling access to the device and the app.

3 hours, 13 minutes

Course description

Access control is one of the most basic security mechanisms you can implement on a device or in the app itself. Good access control reduces the initial risk of attack or accident. In this course, you will learn about authentication and authorization. You will utilize Android's strongest authentication mechanisms, including two-factor, biometric and one-time password logins. You will also learn about the different authorization types and implement the most common of these in your app. You will then learn to manage risks associated with IDOR and uncontrolled sessions.


Activity: Implementing session management

Video - 00:11:00

In this activity, we manage user sessions in our app.
Session management, Part 2

Video - 00:04:00

In this lesson, we learn how to manage network client/server sessions.
Session management

Video - 00:12:00

In this lesson, we learn how to use Shared Preferences to manage user sessions between application restarts.
Insecure direct object reference

Video - 00:06:00

In this lesson, we learn about the risks of IDOR.

Video - 00:09:00

In this lesson, we learn how to grant authorization using OAuth.
Activity: Implementing runtime permissions

Video - 00:07:00

In this activity, we grant dangerous permissions during runtime in our app.
Activity: Role-based access control

Video - 00:15:00

In this activity, we implement role-based access control in our app.
Authorization, Part 3

Video - 00:06:00

We conclude our lesson on authorization by seeing examples of granting Android permissions in both XML and Kotlin.
Authorization, Part 2

Video - 00:06:00

Continuing our lesson on authorization, we examine Android dangerous permissions and how to grant them at runtime.

Video - 00:12:00

In this lesson, we learn about authorization, access control and Android permissions.
Two-factor authentication

Video - 00:12:00

In this lesson, we learn about two-factor authentication, one-time passcodes and Google Authenticator.
Activity: Implementing biometrics

Video - 00:12:00

In this activity, we implement fingerprint scanning to authenticate to our app.

Video - 00:10:00

In this lesson, we learn about biometrics and how to implement biometric authentication in our app.
Keys, tokens and secrets

Video - 00:07:00

In this lesson, we learn more about saving secrets in our app.
Activity: Signing in with Google and Facebook

Video - 00:08:00

In this activity, we implement Google and Facebook sign-in into our app.
Google sign-in

Video - 00:06:00

In this lesson, we learn about Google sign-in and how to integrate it into your app.
Activity: Implementing a password checker, Part 2

Video - 00:15:00

We continue with our password checker activity.
Activity: Implementing a password checker

Video - 00:15:00

In this activity, we implement a password checker in an app.
Authentication, Part 2

Video - 00:11:00

We continue our discussion of Android authentication types and best practices.

Video - 00:12:00

Meet the author

Chrys Thorsen

Chrys Thorsen is a technology and education consultant with 25 years of experience. Her work has taken her around the U.S. and overseas, including as a contractor for the CDC using technology to help fight HIV/AIDS in Africa.

During her career, she has acquired 40 IT certifications, authored over 25 textbooks on a wide range of IT subjects, including secure iOS and Android coding, and created an equal number of IT-related video courses. When not working, Chrys enjoys reading scientific articles and experimenting with Internet-of-Things devices. She currently lives in Virginia with her sister, her cat and her dog which, as she describes it, "have the worst sibling rivalry imaginable."

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • All-Source Analyst
  • Mission Assessment Specialist
  • Exploitation Analyst

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust