How can India balance national security concerns with the rights of accused individuals during high-profile terrorism trials?

With the Bombay High Court allowing the trial of a 26/11 mastermind, I'm curious about the methods India uses to ensure both effective prosecution and protection of legal rights in sensitive terrorism cases.