Web.config Encryption


IIS sunucumuzun dizine erişenlerin web.config dosyasındaki konfigürasyonları okuyamaması için alabileceğimiz basit bir önlemi aşağıda paylaşıyorum.

    //aspnet_regiis.exe yolu
    cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    //encrypt
    aspnet_regiis.exe -pef appSettings "D:\public\webroot"
    //decrypt
    aspnet_regiis.exe -pdf appSettings "D:\public\webroot"

 

No comment

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.