Is it possible to protect download links?

I want to password protect some material on a page with different documents for each visitor. The question is how to somehow protect the links on the same page?