A number of factors appears to have led to why the pig is considered a "filthy animal" in Islam and Judaism. However, at the face of 'extreme situations', concessions can apparently be made from this position.
In the struggle to prevent suicide bombers in Israel, there have been propositions, approved by religious authorities, to form a force of 'guard pigs', that would function like guard dogs, sniffing at people crossing security checkpoints and detecting arms and explosives. Likewise, there have been ideas about placing pieces of pork in buses. The point would be that potential fundamentalist Muslim suicide bombers would change their mind about their mission, since if a Muslim touches a pig or pork, he/she can supposedly say goodbye to all those virgins that had been waiting in paradise.
But have the people behind these propositions considered what might happen if the suicide bomber is Christian, secular, or just not so very fundamentalist? And anyway, if they themselves are desperate enough to look away from religious prohibitions against pigs and pork, who says that the potential suicide bomber isn't?
Actually, the notion that a Muslim would be denied entrance to Heaven after touching parts of a pig is "ridiculous", according to Raeed Tayeh of the American Muslim Association in North America. In fact, it seems to be based on urban legends and false caricatures of muslim beliefs.