i using rsacryptoserviceprovider encrypt app.config sections connection strings. problem is, in group policy environment encryption occurs when software installed through administrator account. doesn't allow current user decrypt app.config sections doesn't have permission access machine level key.
right using aspnet_regiis -pa "rsa key container" "user" grant permission particular user access key container (acl permission)
my question is: there way grant read access current network user access machine level rsa key through c# code?
i implement in c# application code application doesn't crash because current user doesn't have necessary permission read rsa encryption key.
apparently there no way particular user limited rights access machine key unless given permission administrator level account.
hence, if 1 installs package through administrator account permission user needs granted explicitly through administrator.
time change encryption method :(
Comments
Post a Comment