Skip to main content

Posts

Showing posts with the label Sharepoint web.config encrytpion

How to Encrypt the web.config in SharePoint

Granting Read Access to an RSA Encryption Key Encrypt with Folder Location  Step 1: Go to the appropriate framework directory for the ASP.NET files:cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Step 2: From here we can grant read access to an RSA encryption key by running this command: aspnet_regiis -pef "system.web/sessionState" "<Web Application Directory Path>" web application directory path sample ( C:\inetpub\wwwroot\wss\VirtualDirectories\your web application folder) With Application Pool Step 1: Go to the appropriate framework directory for the ASP.NET files:cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 Step 2: From here we can grant read access to an RSA encryption key by running this command:.\aspnet_regiis.exe -pa "NetFrameworkConfigurationKey" "IIS APPPOOL\MySite" How to Identify the APP  Pool "IIS APPPOOL\MySite" is the identity that my App Pool runs under. If you don't know ...