Background context
The Trump administration recently announced plans to ban the social media app TikTok. The administration claims this is for national security reasons, alleging that TikTok is an agent of the Chinese Communist Party. TikTok denies these claims and has provided statistics about American ownership and employment. As a result, TikTok is currently for sale in the financial markets, with potential buyers including Microsoft and other tech giants.
Question about this
What specific legal mechanisms will the Trump administration use to enforce the TikTok ban?
What conditions must be met for the executive branch of the government to use these mechanisms to ban TikTok, and can these mechanisms be used arbitrarily by the President or future Presidents? Do the same laws apply to domestic companies?
Is it possible that these mechanisms could be used in the future to select winners and losers in the tech industry at the President's personal discretion?