Taking extra vitamin D can protect against colds, flu and other respiratory infections, said a study on Thursday which reopened a debate on the usefulness of over-the-counter supplements.