AIR applications can update themselves via the Updater API. It's straightforward to use: you just provide an AIR file containing the new version of your application and the version number you're upgrading to. Downloading the AIR file and displaying any appropriate UI is left to the application.
When we designed this API, I thought we'd get a lot of questions about
Disappointingly, few have asked.
Disappointing because that argument exists to help you protect your application from downgrade attacks. Downgrade attacks work like this: some earlier version of your application has a vulnerability, but has since been patched. The attacker tricks your update mechanism into using the Update API to install that old version, thus re-introducing the vulnerability. Then they attack the vulnerability.
To protect against this attack, the application must validate
Why doesn't AIR check that the version is newer? Because we didn't want to impose a version numbering scheme on anyone.

Leave a comment