Minister urges companies to guard against hacking