The ban affects government officials and military personnel, over concerns about Russian cyber-attacks.