Make identification system of Indian citizens. Every citizen or a temp. resident has to have an identification number. All the illegal residents have to be deported. Create artificial intelligence system of the knowledge gained from last cases. Create a knowledge base of terrorist attack. Create a central and distributed system sharing knowledge. When the attack happens the terrorist must have been sheltered by hotel or a local resident. Check with hotels the resident who lived them for last ten days. The punishment for terrorist attack should be death even for accomplice. India has very open society. Even Pakistani ISI is stronger than Indian intelligence.