The Indian Navy has issued direction to ban the use of all smartphones and social networking platforms onboard its ships and naval bases after the recent arrest of seven navy personnel for allegedly leaking sensitive information to a spy racket connected to Pakistan.