Under very specific circumstances. While torture is never a good thing, it can be justified in the sense that it is necessary. When a prisoner of war withholds information that is crucial to the survival of a civilian population, then you can conceivably continue to treat the individual as a combatant under the circumstances of just war theory. While revenge is never a permissible reason for torture nor is the safeguarding of a government, the protection and security of "innocents" is a viable justification for a limited form of torture. As Henry Shue pointed out in his discussion of torture, the argument can be made that if an individual has the capacity to comply with a declared requirement which would cause the torture to cease, then it could potentially be justified. While there is a whole can of worms in this, there are very definitive instances where torture is justified. To eliminate torture entirely is a noble goal for a noble world, but we unfortunately do not live in a noble world.