>>854080aluminium foil would block only some of the heat (infrared) radiation by reflecting, so you could only protect it bit more against for example someone trying to burn your money with concentrated infrared radiation.
But fire also hot, fire very hot, real hot gases, ouch. And aluminium is an excellent heat conductor so you lead that heat right to the content.