LED is a current driven device. What you need to do is to make sure the forward current is not too high. The typical forward current is aorund 20mA.
Assuming the forward voltage drop of a white LED is 3.2V, the voltage drop in the resistor that connected in series with the LED and voltage source (6V?) is 6-3.2=2.8V. The resistance of the series resistor should be 2.8V/20mA = 140 ohm.
If using a 100 ohm resistor, the current is around 2.8V/100ohm = 28mA. Still within the safety working limit. Should not be a problem.