I can succumb to cravings quite easily! Therefore, any temptations which I cannot completely eliminate from my house, I put on the highest shelf in my kitchen...or better yet, in the garage!
The fact that you can't see the dangerous junk food, actually limits the temptation. The fact that you have to get on a stepladder to fulfill your craving (especially for me, as I am not that tall), makes you become aware of what you are about to do: ruin your efforts at losing weight!
If you really can't resist the cry of the cookie on the 5th shelf, then first climb 60 steps on the stepladder so that at least you get some healthy benefit from your cravings ;).
In fact, we are really going back to our roots when man had to climb the coconut tree to get the coconut. It won't be long before I have you harvest wheat to make your bread, but we're not there yet!