Indonesia, obviously torn between its commitment to democratic freedom and its revulsion against terrorism, should not feel inhibited to think of controversial measures to keep its mosques, boarding schools and other institutions free of militant ideas.