They can, and will, attack humans, but such attacks are unintentional. They will not hesitate to defend their territory, and will likely attack when hurt or weakened.
Tigers are lone hunters and prefer easy prey. It might happen that the tiger will consider human meat a “delicacy.” One of the best-known examples is the tigress from Champawat, India, that killed over 400 people.