Nitroglycerin (drug) is in a family of medications.
Chemically "desensitizing" nitroglycerin is possible to a point where it can be considered about as "safe" as modern high explosives, such as by the addition of ethanol, acetone, or dinitrotoluene
 Shorter-acting preparations of nitroglycerin can be used several times a day with less risk of developing tolerance

