From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Activity: Certificate pinning
From the course: Writing Secure Code for Android by Infosec
Activity: Certificate pinning
- [Instructor] Certificate Pinning, Activity, Implementing Certificate Pinning. Open Android Studio, open an existing project, browse into your student activity files, go to Course 5, Certificate Pinning, select the app inside, and open it. This is basically the same app that we used in the configuring network security activity, but it has a few little differences. If you open MainActivity, the first thing you'll notice is that we're going to a different website. I happen to like GitHub. And the next thing we're doing is we're asking the webView to clear its cache. WebView has this pleasant little habit of remembering things, and that could throw us off when we are trying valid and invalid certificates. So we're going to ask it to clear its cache each time. Otherwise, it's all the same. If you'll go now to network_security_config and open that up, you'll notice that it doesn't really have any configuration. We're going to need to put something in here. Go to where the activity files…
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)
Common data risks11m 18s
-
(Locked)
Android file recovery7m 59s
-
(Locked)
Data in transit11m 38s
-
(Locked)
Activity: Sniffing clear text transmissions, part 110m 1s
-
(Locked)
Activity: Sniffing clear text transmissions, part 29m 46s
-
(Locked)
Network security5m 51s
-
(Locked)
Activity: Configuring network security, part 114m 52s
-
(Locked)
Activity: Configuring network security, part 213m 44s
-
(Locked)
Certificate pinning9m 54s
-
(Locked)
Activity: Certificate pinning10m 3s
-
(Locked)
Data leakage, part 18m 47s
-
(Locked)
Data leakage, part 29m 13s
-
(Locked)
Activity: Preventing data leakage3m 13s
-
(Locked)
Databases14m 36s
-
(Locked)
Activity: Working with Room database, part 112m 36s
-
(Locked)
Activity: Working with Room database, part 25m 53s
-
(Locked)
Activity: Securing database data6m 31s
-
(Locked)
Android IPC, part 15m 16s
-
(Locked)
Android IPC, part 2: Activity10m 13s
-
(Locked)
Android IPC, part 3: Service14m 49s
-
(Locked)
Android IPC, part 4: Broadcast receiver10m 47s
-
(Locked)
Android IPC, part 4: Broadcast receiver, continued12m 9s
-
(Locked)
Android IPC, part 5: Content provider21m
-
(Locked)
Android IPC, part 5: Content provider, continued9m 16s
-
(Locked)
Android IPC, part 6: Intent12m 25s
-
(Locked)
Android IPC, part 6: Intent, continued9m 45s
-
(Locked)
Android IPC, part 7: Binder4m 52s
-
(Locked)
Android IPC, part 8: Threads9m 42s
-
(Locked)
Android IPC, part 9: Race condition12m 39s
-
(Locked)
Activity: Exploring threads and concurrency14m 9s
-
(Locked)
-
-
-