Securing NativeScript Applications

Making your NativeScript Apps Bulletproof

Securing NativeScript Applications

The courses on NativeScripting are easy to follow, paced well, and do a great job of getting you up to speed with NativeScript.

Raymond Camden
Raymond Camden

DevRel for Auth0 Extend

NativeScripting provides really high quality focused content around learning NativeScript! I love using the platform to refresh my skills and hone in on specific challenge areas to fill in my gaps of knowledge.

Tracy Lee | ladyleet
Tracy Lee | ladyleet

RxJS Core Team member and Google Developer Expert

The best NativeScript video content out there. NativeScripting’s courses are an amazing resource for getting started with NativeScript. Highly recommended.

TJ VanToll
TJ VanToll

Principal Developer Advocate @ProgressSW

NativeScripting is a great resource with top notch material on NativeScript and mobile application development with frameworks such as Angular and Vue. I highly recommend it for any developer, beginner to expert.

Nic Raboy
Nic Raboy

The Polyglot Developer

As a previous Developer Advocate for Progress/Telerik, who makes NativeScript, I've no hesitation in saying that NativeScripting.com is the only place you need to learn NativeScript, from the masterful Alex. His teaching style is absolutely on point; comprehensive and concise enough to have you building real mobile applications, whilst giving you fundamental and advanced knowledge necessary to survive in the wild.

Todd Motto
Todd Motto

Creator @ UltimateAngular and Google Developer Expert for Angular

Alex, affectionately known as the Voice of NativeScript, produces high quality video content that effectively teaches the ins and outs of NativeScript, walking students through the complexities of building mobile apps. These videos teach both NativeScript with Angular and NativeScript Core, offering two great ways to build beautiful apps.

Jen Looper
Jen Looper

Lead Dev Advocate @Microsoft, Founder and CEO of Vue Vixens

If you're looking to learn NativeScript, look no further than NativeScripting. These instructors are the best in the business. I know that because they helped me when I was first learning NativeScript. You can't do any better.

Burke Holland
Burke Holland

DevRel at Microsoft

NativeScripting is the best place for high quality NativeScript courses. Here you will find all learning materials you will ever need to get started with NativeScript. But also, there is a ton of advanced courses for a seasoned NativeScript dev.

Sebastian Witalec
Sebastian Witalec

Sr. Developer Advocate at Progress

Alex, thank you so much for creating this course. The architecture chapter alone is worth the price of the course, and saved me tons of time in the long run - time I would have spent reworking the solution over and over. Can’t wait for the next chapters.

David Wison
David Wison

Mobile Developer

Excellent as an introduction, easy to understand, totally useful, if you are a Vue developer, you should take this material to start with the right foot.

Hernán Piña
Hernán Piña

JavaScript Developer

If you want to understand and master NativeScript, Alex’s NativeScripting course videos are the way to go. He is truly the ‘Voice of NativeScript’ as he can break down complex ideas in such a way that would help you accelerate your goal in building beautiful mobile applications. Highly recommend him and definitely worth your time and money!

Devlin Duldulao
Devlin Duldulao

Microsoft MVP

The introduction to NativeScript-Vue course is a fantastic foundation for learning how to both implement UIs using the Vue framework and also how to use the NativeScript toolsets, such as the CLI and the Sidekick app.

Chase Putnam
Chase Putnam

Backend and Frontend Developer

About this course

Author

Alex Ziskind

Trainer and Founder

Alex Ziskind

Alex lives in Washington, DC. He's a speaker, trainer, and a Telerik Developer Expert. He's been invloved in NativeScript projects since 2015 and has created courses for Pluralsight, LinkedIn, and Coursera.

  • NativeScript Angular logo
    NativeScript with Angular
  • NativeScript Core logo
    NativeScript Core
  • NativeScript Vue logo
    NativeScript-Vue
Intermediate
61 lessons

What you'll learn

Welcome to Securing NativeScript applications. You're here because you understand about the dangers that apps can face. In this course, you will build layers of security into a simple, completely unsecured NativeScript app. You'll start out with protecting resources with authentication and authorization. However, simple auth is not enough. You'll find out how to keep your passwords safe with hashing and salting, JSON web token, server-side auth middleware, and controlling the user login lifetime. In Chapter 4 we’ll balance between the server and clients worlds and secure the protocols they use to communicate with a technique called SSL pinning. You'll also offload identity management and use the common OAuth2 protocol with those identity providers, and you’ll use the latest serverless technologies to help keep important data off your device. There are techniques for keeping your data and code safe on the client as well. In the data protection chapter we'll see the differences between device storage mechanisms and their security implications. However, your assets aren’t only data. Your other exposed asset is your application code itself. While these days, NativeScript apps are bundled through Webpack, we will take code protection a step further. This course is meant to show you some available options when it comes to securing your NativeScript apps, but it’s by far not an exhaustive set of guidelines.

Curriculum

  • Introduction

    • 1
      Course Introduction (2:35)
    • 2
      OWASP Mobile Top 10 (1:47)
    • 3
      Client and Server Security (2:40)
    • 4
      Prerequisites (2:11)
    • 5
      Terminology (2:45)
    • 6
      Code Files
  • Basic Login and Registration

  • Backend Setup

    • 11
      Overview (1:26)
    • 12
      About HTTPS (1:09)
    • 13
      Building a Backend (7:32)
    • 14
      Serving API Data (8:00)
    • 15
      Auth API Routes (8:21)
    • 16
      Auth Client Setup (4:29)
  • Resource Protection with JWT

    • 17
      Overview (2:06)
    • 18
      Hashing and Salting (6:59)
    • 19
      Generating JWT (6:55)
    • 20
      Storing JWT on the Client (2:28)
    • 21
      Protecting Data with JWT (6:54)
    • 22
      Token Expiration (6:12)
  • HTTPS with SSL Pinning

    • 23
      Overview
    • 24
      Server Side Certificate
    • 25
      Installing Cert on the Client
    • 26
      Enabling SSL Pinning
  • Auth with External Providers

    • 27
      Overview
    • 28
      OpenId Connect and OAuth2
    • 29
      Authorization Code
    • 30
      OAuth2 in Native Mobile Apps
    • 31
      App UI Prep
    • 32
      NativeScript OAuth2 Setup
    • 33
      Register App and Activate Login
    • 34
      Fetching Third Party Resources
    • 35
      Azure AD OAuth2 Example
  • Securing with Auth0

  • Client Data Protection

    • 43
      Overview
    • 44
      Serverless Proxy: Local Setup
    • 45
      Serverless Proxy: Client Setup
    • 46
      Serverless Proxy: Example
    • 47
      Serverless Proxy: Local Settings
    • 48
      Serverless Proxy: Deployment
    • 49
      Token Storage: App Settings
    • 50
      Token Storage: Local Storage and Session Storage
    • 51
      Token Storage: Secure Storage
  • Code Protection

  • Other Security Considerations

Or pick up a complete bundle...

Everything you need to start mastering NativeScript today

NativeScript with Angular Essential Bundle

4 courses

NativeScript with Angular Getting Started Guide
Beginner
NativeScript with Angular Pro
Advanced
NativeScript with Angular Web Application Conversion
Intermediate
Styling NativeScript with Angular Applications
Intermediate

NativeScript Core Master Bundle

8 courses

NativeScript Core Getting Started Guide
Beginner
NativeScript Core Pro
Advanced
NativeScript Enterprise Auth
Intermediate
Styling NativeScript Core Applications
Intermediate
NativeScript Plugins: Creating Custom View Components
Intermediate
Securing NativeScript Applications
Intermediate
NativeScript Hands-On UI
Beginner
Upgrading Cordova Applications to NativeScript
Beginner

NativeScript with Angular Master Bundle

9 courses

NativeScript with Angular Getting Started Guide
Beginner
NativeScript with Angular Pro
Advanced
NativeScript with Angular Web Application Conversion
Intermediate
NativeScript Enterprise Auth
Intermediate
Styling NativeScript with Angular Applications
Intermediate
NativeScript with @ngrx
Intermediate
NativeScript Plugins: Creating Custom View Components
Intermediate
Securing NativeScript Applications
Intermediate
NativeScript Hands-On UI
Beginner
Accepting MasterCardAccepting PayPalAccepting VISAAccepting Amex

Secure SSL encrypted payments

100% money back guarantee

These courses are empowering thousands with expert knowledge - they will you too. If you're disappointed for whatever reason, you'll get every cent back.

Student/Location discounts

Not-so-good exchange rate? (i.e. India/Brazil) Get in touch for a coupon. Student? Email us from your student email or attach your student ID.