C# Programming: Encrypting Application Config File Sections with aspnet_regiis Utility

It’s good security practice to protect sensitive application configuration file settings from prying eyes. This holds especially true for database connection string settings. You can use the aspnet_regiis utility, supplied with the .NET Framework, to encrypt sections of a console application’s configuration file.

My website: https://pulpfreepress.com

The code for this example is located on GitHub: https://github.com/pulpfreepress/EmployeeTraining

Microsoft Docs aspnet_regiis Reference: https://docs.microsoft.com/en-us/previous-versions/aspnet/zhhddkxy(v%3Dvs.100)

Related Videos:
C# Programming: Microsoft Enterprise Library V6: Multiple Databases: https://www.youtube.com/watch?v=yB-gKFLvj1U

Part I: https://www.youtube.com/watch?v=fNjD_KhGHRM
Part II: https://www.youtube.com/watch?v=0pbUqZoXmIY
Part III: https://www.youtube.com/watch?v=qNgMJRrBy40
Part IV: https://www.youtube.com/watch?v=46UInkd0lY4
Part V: https://www.youtube.com/watch?v=qHT1FyWpkUI
Part VI-A: https://www.youtube.com/watch?v=pZcw-UCLi3I

source by Pulp Free Press

c# language

Mourad ELGORMA

Mourad ELGORMA

Fondateur de summarynetworks, passionné des nouvelles technologies et des métiers de Réseautique , Master en réseaux et système de télécommunications. ,j’ai affaire à Pascal, Delphi, Java, MATLAB, php …Connaissance du protocole TCP / IP, des applications Ethernet, des WLAN …Planification, installation et dépannage de problèmes de réseau informatique……Installez, configurez et dépannez les périphériques Cisco IOS. Surveillez les performances du réseau et isolez les défaillances du réseau. VLANs, protocoles de routage (RIPv2, EIGRP, OSPF.)…..Manipuler des systèmes embarqués (matériel et logiciel ex: Beaglebone Black)…Linux (Ubuntu, kali, serveur Mandriva Fedora, …). Microsoft (Windows, Windows Server 2003). ……Paquet tracer, GNS3, VMware Workstation, Virtual Box, Filezilla (client / serveur), EasyPhp, serveur Wamp,Le système de gestion WORDPRESS………Installation des caméras de surveillance ( technologie hikvision DVR………..). ,

2 réflexions sur “C# Programming: Encrypting Application Config File Sections with aspnet_regiis Utility

  • Avatar
    avril 24, 2021 à 10:29
    Permalien

    Ric, thank you very much. In addition to being excellent in terms of the information they contain, they are very educational. With your videos you have saved me many hours of work.

    Répondre
  • Avatar
    avril 24, 2021 à 10:29
    Permalien

    Awesome Video!! great information. Do you know how this can be done in .NET Core?

    It works perfectly on .Net Framework but in .NET Core I am getting an error message. Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: Operation is not supported on this platform.

    RsaProtectedConfigurationProvider does not seem to work on .NET Core. It could be a simple import or setting I'm missing.

    Répondre

Laisser un commentaire