Police prepared to thwart any possible militant attack: DMP Commissioner