During WWII it was done with state-issued ration tickets and a crackdown on the inevitable black market that emerged. That's a good alternative to this.