Security, and restore to any moment
We ran an internal security review of the system: isolation between stores, sign-in and protection against forged requests, receiving payment confirmations, file uploads, requests to outside addresses, and content written by stores and customers. One serious issue was found and fixed: the structured data the store sends to Google (product name, reviews, blog titles) was not escaped properly, and malicious content could break out of it and run code on the page. Now every dangerous character is replaced, and an automated test makes sure it stays that way. We also blocked an internal address range that product import could still reach. At the same time we moved from a daily backup alone to restore to any moment: the database change log is saved continuously and closed at least every five minutes, and a daily base backup is kept for a week. In testing, restoring to a specific second returned exactly what was there at that second and restoring to the latest moment returned everything, without touching the live database. The off-server copy is still waiting for a storage account.
New 1
- Restore the database to any moment, with continuous saving and a restore test.
Fixed 2
- The data sent to Google is escaped, and malicious content cannot break out of it.
- Product import does not reach an internal address range.