Security - UWP applications (2024)

  • Article

This section contains articles on building secure Universal Windows Platform (UWP) apps for Windows.

Introduction

If you're new to Windows or UWP development, start with the Intro to secure Windows app development. This introductory-level article provides an overview of security considerations for apps and the various features available in Windows.

Authentication and user identity

The authentication and user identity section contains walkthroughs for scenarios related to user login and identity. Apps have several options for user authentication, ranging from simple single sign-on (SSO) using Web authentication broker to highly secure two-factor authentication.

TopicDescription
Credential lockerThis article describes how apps can use the Credential Locker to securely store and retrieve user credentials, and roam them between devices with the user's Microsoft account.
Fingerprint biometricsThis article explains how to add fingerprint biometrics to your app. Including a request for fingerprint authentication when the user must consent to a particular action increases the security of your app. For example, you could require fingerprint authentication before authorizing an in-app purchase, or access to restricted resources. Fingerprint authentication is managed using the UserConsentVerifier class in the Windows.Security.Credentials.UI namespace.
Windows HelloThis article describes the Windows Hello technology, and discusses how developers can implement this technology to protect their apps and backend services. It highlights specific capabilities of these technologies that help mitigate threats from conventional credentials and provides guidance about designing and deploying these technologies as part of your packaged Windows apps.
Create a Windows Hello login appPart 1 of a complete walkthrough on how to create a packaged Windows app that uses Windows Hello as an alternative to traditional username and password authentication systems.
Create a Windows Hello login servicePart 2 of a complete walkthrough on how to use Windows Hello as an alternative to traditional username and password authentication systems in packaged Windows apps.
Smart cardsThis topic explains how apps can use smart cards to connect users to secure network services, including how to access physical smart card readers, create virtual smart cards, communicate with smart cards, authenticate users, reset user PINs, and remove or disconnect smart cards.
Share certificates between appsUWP apps that require secure authentication beyond a user Id and password combination can use certificates for authentication. Certificate authentication provides a high level of trust when authenticating a user. In some cases, a group of services will want to authenticate a user for multiple apps. This article shows how you can authenticate multiple apps using the same certificate, and how you can provide convenient code for a user to import a certificate that was provided to access secured web services.
Windows Unlock with companion IoT devicesA companion device is a device that can act in conjunction with Windows to enhance the user authentication experience. Using the Companion Device Framework, a companion device can provide a rich experience even when Windows Hello is not available (for example, if the Windows machine lacks a camera for face authentication or fingerprint reader device, for example).
Web Account ManagerThis article describes how to show the AccountsSettingsPane and connect your Universal Windows Platform (UWP) app to external identity providers, like Microsoft or Facebook, using the Windows Web Account Manager APIs. You'll learn how to request a user's permission to use their Microsoft account, obtain an access token, and use it to perform basic operations (like get profile data or upload files to their OneDrive).
Web authentication brokerThis article explains how to connect your app to an online identity provider that uses authentication protocols like OpenID or OAuth. The AuthenticateAsync method sends a request to the online identity provider and gets back an access token that describes the provider resources to which the app has access.

Cryptography

The cryptography section contains information on more complex, cryptographic related topics.

TopicDescription
Intro to certificatesThis article discusses the use of certificates in apps. Digital certificates are used in public key cryptography to bind a public key to a person, computer, or organization. The bound identities are most often used to authenticate one entity to another. For example, certificates are often used to authenticate a web server to a user and a user to a web server. You can create certificate requests and install or import issued certificates. You can also enroll a certificate in a certificate hierarchy.
Cryptographic keysThis article shows how to use standard key derivation functions to derive keys and how to encrypt content using symmetric and asymmetric keys.
Data protectionThis article explains how to use the DataProtectionProvider class in the Windows.Security.Cryptography.DataProtection namespace to encrypt and decrypt digital data in a UWP app.
MACs, hashes, and signaturesThis article discusses how message authentication codes (MACs), hashes, and signatures can be used in apps to detect message tampering.
Export restrictions on cryptographyUse this info to determine if your app uses cryptography in a way that might prevent it from being listed in the Microsoft Store.
Common cryptography tasksThese articles provide example code for common cryptography tasks, such as creating random numbers, comparing buffers, converting between strings and binary data, copying to and from byte arrays, and encoding and decoding data.

Feedback

Was this page helpful?

Provide product feedback|

Security - UWP applications (2024)
Top Articles
Quel placement à court terme choisir ? On vous explique tout !
JPMorgan - Mitarbeiteranzahl bis 2023 | Statista
Sdn Md 2023-2024
Encore Atlanta Cheer Competition
Craigslist Home Health Care Jobs
55Th And Kedzie Elite Staffing
Walgreens Pharmqcy
THE 10 BEST Women's Retreats in Germany for September 2024
Es.cvs.com/Otchs/Devoted
When is streaming illegal? What you need to know about pirated content
His Lost Lycan Luna Chapter 5
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Rochester Ny Missed Connections
Craigslist Pets Southern Md
Saw X | Rotten Tomatoes
Directions To O'reilly's Near Me
RBT Exam: What to Expect
Craigslist Edmond Oklahoma
Wausau Obits Legacy
Jalapeno Grill Ponca City Menu
/Www.usps.com/International/Passports.htm
Azpeople View Paycheck/W2
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
Encore Atlanta Cheer Competition
Www.craigslist.com Savannah Ga
Walgreens Bunce Rd
Hannah Palmer Listal
13301 South Orange Blossom Trail
Cylinder Head Bolt Torque Values
Sacramento Craigslist Cars And Trucks - By Owner
*!Good Night (2024) 𝙵ull𝙼ovie Downl𝚘ad Fr𝚎e 1080𝚙, 720𝚙, 480𝚙 H𝙳 HI𝙽DI Dub𝚋ed Fil𝙼yz𝚒lla Isaidub
Southtown 101 Menu
Workboy Kennel
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Bee And Willow Bar Cart
The Pretty Kitty Tanglewood
Tgh Imaging Powered By Tower Wesley Chapel Photos
Xemu Vs Cxbx
Louisville Volleyball Team Leaks
Viewfinder Mangabuddy
Shane Gillis’s Fall and Rise
Achieving and Maintaining 10% Body Fat
Www Craigslist Com Atlanta Ga
3500 Orchard Place
Lesson 5 Homework 4.5 Answer Key
Walmart Listings Near Me
Craigslist Psl
Fahrpläne, Preise und Anbieter von Bookaway
Inside the Bestselling Medical Mystery 'Hidden Valley Road'
Sunset On November 5 2023
Pauline Frommer's Paris 2007 (Pauline Frommer Guides) - SILO.PUB
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6675

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.