A federal judge has blocked the state from prosecuting an online gambling site for violating state gaming laws.