A plan to crack down on online rip-offs has been outlined by the government.