CM directs foolproof security for educational institutes