How to Encrypt & Decrypt an XML File
By Jim Campbell
The Windows operating system lets you encrypt and decrypt files on your desktop. The files are encrypted to protect them from being viewed by unauthorized users. It also protects from identity theft, if your files are stolen or your network is hacked. Windows has an internal feature to encrypt Extensible Markup Language, or XML, files -- these documents are optimized for exchanging data among different software applications and databases.
Click the Windows "Start" button and select "Computer." Navigate to the folder where your XML file is located. Right-click the file and select "Properties."
Click the "Advanced" button in the "General" tab. A new configuration window opens. Check the box labeled "Encrypt contents to secure data." Click "OK" to encrypt the file. It only takes a few seconds to encrypt the file. Click "OK" again in the main properties window.
Click the Windows "Start" button again and select "Computer." Navigate to an encrypted XML file. You can also use the previously encrypted file to test the settings. Right-click the file and select "Properties."
Click the "Advanced" button in the "General" tab. In the opened window, remove the check mark next to "Encrypt contents to secure data" and click "OK." The XML file is decrypted.
Jim Campbell has been a computer engineer for over five years. He excels in hardware repair, computer programming and troubleshooting, and software design. He is currently attending Florida Atlantic University, pursuing a master's degree in computer and electrical engineering and fine-tuning his technical writing abilities.