Site Settings=>File Downloads=>Require user account to download=>yes
basically if any file need to download user must have to login to download the file. but after enable the option, if user is not logged in they redirect to register page. i think redirect to "Login Page" is much more logical...