.net 使用Aspnet_regiis對web.config進行加密解密

cmd 切換目錄到cd c:\Windows\Microsoft.net\Framework\v4.0.30319

webconfig加解密操作:

aspnet_regiis.exe -pef "connectionStrings" "webconfig路徑"

aspnet_regiis.exe -pef "appSettings" "webconfig路徑"

對應的解密:

aspnet_regiis.exe -pdf "connectionStrings" "webconfig路徑" 

aspnet_regiis.exe -pdf "appSettings" "webconfig路徑" 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章