The New York businessman, who is to be inaugurated as president on January 20, said he would appoint a team to give him a plan within 90 days of taking office on how to prevent cyberattacks but suggested that he would keep their recommendations secret.