Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Files

Latest commit

cf083cb · Feb 21, 2019

History

History

Security

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Feb 21, 2019
Jan 26, 2018
Oct 30, 2017

Readme - Code Samples for Chapter 24, Security

This chapter contains the following code samples:

  • Authentication
    • WindowsPrincipal (WindowsIdentity and WindowsPrincipal)
  • Encryption
    • SigningDemo (signing using ECDsaCng)
    • SecureTransfer (encrypting and decrypting a message, this sample requires .NET 4.6)
    • RSASample (signing and hashing with RSACng)
  • Data Protection
    • DataProtectionSample (use data protection with Microsoft.AspNetCore.DataProtection)
  • Access Control
    • FileAccessControl (read file access using FileSecurity and FileSystemAccessRule)

To build and run the .NET Core samples, please install one of these tools:

  • Visual Studio 2017 Update 5 with the .NET Core workload
  • Visual Studio for Mac
  • Visual Studio Code

Please download and install the tools from .NET Core downloads.

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!