From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 25,400 courses taught by industry experts.
Activity: Implementing a password checker, part 1
From the course: Writing Secure Code for Android by Infosec
Activity: Implementing a password checker, part 1
- [Instructor] Authentication. Activity, Implementing a Password Checker. In Android Studio, open an existing project, and go to the activity files, go to Course 6, Implementing a Password Checker. Select the PasswordStrengthChecker app and open it up. Click OK. You might remember way back when in Course 2 that we used regular expressions to check a password strength, but this time we're going to get a little bit fancier and I'm going to take advantage of Logcat to help us understand some of the logic. If you drill down, you'll notice that there is a PasswordStrength class and the MainActivity. The PasswordStrength, as you can imagine, does all of the password strength checking. The MainActivity, of course, is the entry point to our app. Before we get into the code, take a look at /res/layout/activity_main.xml. And if you don't have it set to split view, come up to the upper right and change the view to split so we can look at both the XML and the GUI 'cause I want to point out a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Authentication, part 111m 34s
-
(Locked)
Authentication, part 211m 3s
-
(Locked)
Activity: Implementing a password checker, part 114m 53s
-
(Locked)
Activity: Implementing a password checker, part 215m 3s
-
(Locked)
Google sign-in5m 50s
-
(Locked)
Activity: Signing in with Google and Facebook7m 48s
-
(Locked)
Keys, tokens, and secrets6m 55s
-
(Locked)
Biometrics9m 30s
-
(Locked)
Activity: Implementing biometrics12m 13s
-
(Locked)
Two-factor authentication12m 5s
-
(Locked)
Authorization, part 111m 48s
-
(Locked)
Authorization, part 25m 40s
-
(Locked)
Authorization, part 35m 40s
-
(Locked)
Activity: Implementing runtime permissions6m 35s
-
(Locked)
Activity: Role-based access control14m 39s
-
(Locked)
OAuth8m 52s
-
(Locked)
Insecure direct object reference5m 37s
-
(Locked)
Session management, part 111m 41s
-
(Locked)
Session management, part 24m 10s
-
(Locked)
Activity: Implementing session management11m 21s
-
(Locked)
-
-