It seems like this would be very difficult to implement securely. You basically would have to preserve the old, unsafe mode and hope that nobody circumvents whatever restrictions you put in place to make sure that it only applies to the pre-migration apps .