kiran kumar
What is protected configuration in asp.net ?
By kiran kumar in ASP.NET on Oct 07 2016
  • kiran kumar
    Oct, 2016 7

    One of the primary places that sensitive information is stored in an ASP.NET application is the Web.config file. To help secure information in configuration files, ASP.NET provides a feature called protected configuration, which enables you to encrypt sensitive information in a configuration file. A configuration file that encrypts the connection string values using protected configuration does not show the connection strings in clear text, but instead stores them in encrypted form.

    • 4
  • Bidya Mishra
    Apr, 2017 19

    Integrated Security="True" in web.config file during connection string

    • 1
  • Sridhar Sharma
    Mar, 2017 8

    what is the best way to encrypt or decrypt conn string?

    • 1
  • irfan khan
    Dec, 2019 11

    The Encryption and Decryption of the Web.Config file’s ConnectionStrings section will be performed using aspnet_regiis.exe

    aspnet_regiis.exe -pef “Connectionstrings” “D:/Irfan/MySolution/MyProject”.

    Here aspnet_regiis is command
    -pef is Encryption action to be performed.
    “Connectionstrings” is connection string i.e name of the section
    Next one is path

    This command should be executed in visualstudio commandprompt in visual studio tools

    • 0
  • Lalit Raghav
    Aug, 2018 30

    https://www.aspsnippets.com/Articles/Encrypt-and-Decrypt-Connection-Strings-in-WebConfig-file-in-ASPNet.aspx

    • 0
  • sreedhar puligundla
    Sep, 2017 13

    We can encrypt by using the following command aspnet_regiis.exe -pd "connectionStrings" -app "/VIRTUALFOLDER" You can find more options on this in the following MSDN link https://msdn.microsoft.com/en-in/library/bb986792.aspx

    • 0
  • imran savnur
    May, 2017 5

    dd

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS