Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 6.4 KB

File metadata and controls

78 lines (57 loc) · 6.4 KB
titledescriptionms.topicms.date
Security and identity
This article provides an index of development features that are related to security and identity scenarios in Windows apps.
overview
03/19/2025

Security and identity

This article provides an index of development features that are related to scenarios involving security and identity in Windows apps.

Windows OS features

Windows provides a wide variety of APIs related to security and identity scenarios for apps. These features are available via a combination of Windows App SDK, Windows Runtime (WinRT), and Win32 (C++ and COM) APIs provided by the Windows SDK.

Windows App SDK APIs

The Windows App SDK provides APIs related to OAuth 2.0 authorization flows. There are also a few helper APIs in the Microsoft.Windows.Security.AccessControl namespace. These APIs are related to named object sharing between packaged apps and Win32 applications.

ArticleDescription
Implement OAuth 2.0 functionality in Windows appsThe new OAuth2Manager in Windows App SDK enables desktop applications such as WinUI to seamlessly perform OAuth 2.0 authentication in Windows apps. This article describes how to implement OAuth 2.0 with the Windows App SDK.

WinRT APIs

The following articles provide information about features available via WinRT APIs provided by the Windows SDK.

ArticleDescription
SecurityLearn about the breadth of security features for Windows apps.
Authentication and user identityWindows apps have several options for user authentication, ranging from simple single sign-on (SSO) using Web authentication broker to highly secure two-factor authentication.
Credential lockerThis article describes how Windows apps can use the Credential Locker to securely store and retrieve user credentials, and roam them between devices with the user's Microsoft account.
CryptographyLearn about cryptography features available to Windows apps.
Fingerprint biometricsThis article explains how to add fingerprint biometrics to your Windows app, including a request for fingerprint authentication when the user must consent to a particular action increases the security of your app.
Share certificates between appsThis article shows how you can authenticate multiple Windows apps using the same certificate, and how you can provide a method for users to import a certificate that was provided for access to secured web services.
Smart cardsThis topic explains how packaged Windows apps can use smart cards to connect users to secure network services.
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 Windows Hello 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 Microsoft Passport 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.

Win32 (C++ and COM) APIs

The following articles provide information about features available via Win32 (C++ and COM) APIs provided by the Windows SDK.

ArticleDescription
Security and identityLearn about the breadth of security features available to Windows apps via Win32 APIs.
AuthenticationLearn about authentication features available via Win32 APIs.
CryptographyLearn about cryptography features available via Win32 APIs.

.NET features

The .NET SDK also provides APIs related to security and identity scenarios for WPF and Windows Forms apps. The security and cryptography APIs in .NET can also be used in C# WinUI apps.

ArticleDescription
Security in .NETLearn about security concepts and features for all .NET apps.
Security (WPF)Learn about security concepts and features for WPF apps.
Windows Forms SecurityLearn about security concepts and features for Windows Forms apps.

Other features

The following articles provide information about features related to security and identity scenarios with passkeys for Windows apps.

TopicDescription
Intro to passkeysPasskeys are simpler, stronger, passwordless sign-ins.
Implement passkeysDescribes how to implement passkey sign-ins across online, enterprise, and government applications, and for payments.
Design guidelines for passkeysThere are 14 design patterns for passkeys. You can get started with two essential patterns, and then add optional patterns to your passkeys deployment based on your unique business needs.
Use cases for passkeysThis topic describes some use cases for passkeys.
Tools and libraries for passkeysThis topic contains info about tools and libraries to help you implement passkeys.
Reference for passkeysThis topic offers some reference info, demos, and examples.

Related content

close