Download access control

I’m very new to this, so apologies if I’m posting in the wrong place. I would like to create a site in which users register, and once logged in as members are able to download certain documents. Basically a log-in protected directory. Is it possible to do this with wordpress? Is there some better software/solution (ideally free) that would fulfill this?