Showing posts with label how to secure your database in share hosting panel. Show all posts
Showing posts with label how to secure your database in share hosting panel. Show all posts

Saturday, July 21, 2018

how to enscript your connection string in share hosting | Sradha WebCreations

how to enscript your connection string in share hosting panel 
how to secure your database in share hosting panel 

enscript is a computer program that converts text files to PostScript, RTF, or HTML formats. 


  1. Open your website which web.config file you want to enscript.
  2. Click on website folder copy the website path
  3. C:\Users\sradha\Documents\Visual Studio 2010\WebSites\EnscriptWebDemo
  4. Open command prompt cmd C:\
  5. C:\Cd windows
  6. C:\  windows\ cd Microsoft.NET
  7. C:\windows\Microsoft.NET\cd Framework
  8. C:\windows\Microsoft.NET\Framework\cd V4.0.30319
  9. C:\windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –pef “connectionStrings” “Paste your website file location like above” –prov “DataProtectionConfigurationProvider”
  10. Enter
  11. Encrypting configuration section Succeeded!
  12. Then open
  13.  
  14. Local Connection

<!--<connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
    <EncryptedData>
      <CipherData>
        <CipherValue>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA8efXuhXn/k2KirAgCA8auAQAAAACAAAAAAAQZgAAAAEAACAAAACKyAp5peoUwq5MbWjvklQdverTFtuela/sH0cFmRlaaQAAAAAOgAAAAAIAACAAAADE/KMBvZgW5gkiV9g3H/Om1dhyy+UUu2+WdXE3jBXm9vABAAAA/J1t1mcL61Qj42Osg0KFQxyHDS3j63GtmS28tu27SDURxmxDOzn+uvZzlTujOdasd/hhJWF34MjBYgapGIdmgo0e00uhj5/+hwRV6gxazUvjdozhpVCNzRJB6InZ4jhApxsyW1rRxdWN7A1srb5bjvuQ4WKRGEHV/UrmusBcV5Agk4hwOkp3B+ohYWEMnSYQR3UvIcpyaxuxen39rXaE0GFoRMdHZ2+a1NdTosqKkCVWwC2RNf57vdsCS78DmnWVFlzc6k/VRBVOJM/9oj8BX5LBCxw9i6MfzsV8FA4Fp+W5cSq54ZlNuT6TPAn++Y4n8ealR2QoEXGpMcDsCrrJgKkwYjaOP4EUj9B1cT32u7uxZAxuUSib0vDhfRxisSYB9Mx7NhyBlNSYKGu+5ev+RGBTRj+7pJgm8HG+sDy5mFcBcqNeeMhy0nHeLPGZiYgQtTrGRQkDaLTftLDEyp8LtILfxhfpM03FtZgwGCetV2Z1U3U3Dvzd8r4zx8d1CZbad1Rvraso3N/0O+X08QTE1C4DF65fO7emKIQ85VeTDrrt2Jx/Zpdj99+e/RSkrnFUbrfO5TZCCfqldibyew0uur5yS9I93r61TDeXVRyOyAUK0ZaMwM5H5G+Bhu0f+JfhebVCICmTqL3uzao+OO8AQAAAAFjwSn6t6Jb+oDrhcKZzvv/WhIownTWtKjnl1LY5bkL5EYTOKUxhfhJRRK48rsyTw5VyRWW0Jj6KEZFI/WO9hdQ=</CipherValue>
      </CipherData>
    </EncryptedData>
  </connectionStrings>-->