Encrypting the WPS Encryption Key in Web.Config
By default, the
WPS Encryption Key in Web.Config displays in plain text. To encrypt the WPS
Encryption Key, perform the following steps.
- Navigate to C:\inetpub\wwwroot\wps\bin, right click the WPS.PlugIn.Core.dll file and select Copy.
- Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319. The version number of the folder may vary depending on your installation. If you have navigated to the correct folder, the aspnet_regiis.exe file will also be in the folder.
- Right click inside the v4.0.30319 folder, and select Paste. The WPS.Plugin.Core.dll file appears in the v4.0.30319 folder.
- Open a command prompt window.
- In the v4.0.30319 folder, click the aspnet_regiis.exe file and drag it to the command prompt window. The filepath appears in the command prompt window.
- After the filepath, type a space followed by -pe wps -app /yoursitename where yoursitename is the name of the WPS website you have configured. Press Enter. The WPS Encryption key in Web.Config is encrypted.
- Repeat these steps on each machine where the website is deployed. The encryption key should be set to the same value on each machine.