security and migration