You can use a security plugin for application-level security.

However, before the migration process starts you should disable any security plugins. You can re-enable them after the migration has been completed.