Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to encrypt the connection string in web.config

How to encrypt the connection string in web.config

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    King Shez
    wrote on last edited by
    #1

    Hi Guys i want my connection string to be encrypted in web.config , is there any way to do it, plzzzzz let me know ASAP, thankx in advance.

    S R K 3 Replies Last reply
    0
    • K King Shez

      Hi Guys i want my connection string to be encrypted in web.config , is there any way to do it, plzzzzz let me know ASAP, thankx in advance.

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      hi, Use Cipher Data Class.

      With Regards Satips

      1 Reply Last reply
      0
      • K King Shez

        Hi Guys i want my connection string to be encrypted in web.config , is there any way to do it, plzzzzz let me know ASAP, thankx in advance.

        R Offline
        R Offline
        Ramasubramaniam
        wrote on last edited by
        #3

        You can write your own encryption logic, by using System.Security.Cryptography namespace. Go through the below links. http://msdn.microsoft.com/msdnmag/issues/02/06/crypto/ http://www.codeproject.com/dotnet/encryption\_decryption.asp

        1 Reply Last reply
        0
        • K King Shez

          Hi Guys i want my connection string to be encrypted in web.config , is there any way to do it, plzzzzz let me know ASAP, thankx in advance.

          K Offline
          K Offline
          kitokatakito
          wrote on last edited by
          #4

          hi you can use this link it is useful http://quickstarts.asp.net/QuickStartv20/aspnet/doc/management/mgmtapi.aspx#encrypt[^] or you can use MSDN Library for visual studio 2005 you will find specific steps to do the encryption good luck :rose: alaa

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups