I want to be able to have private file downloads for authenticated users and admins. I don't see any modules that allow me to achieve this.

Can someone point me in the right direction?

Chris

Comments

WorldFallz’s picture

It's part of core-- when you create a file field you can select whether it's public or private.

cyuhas’s picture

Thank you.

When I attach the files to the created page I can see them when I goto preview but I cannot view them when the page is published.

Any ideas?

WorldFallz’s picture

If the files are still there when you edit the node, then it's probably a permissions issue.

cyuhas’s picture

Thanks but that wasn't it.

Under, Home » Administration » Structure » Content types » Basic page, I didnt remove file attachment from under Hidden. It was very easy to overlook. Oh well I know better for next time.

Hopefully this helps others in the future.

WorldFallz’s picture

ahhh... i always forget about that setting. Thanks for posting back your solution!

Priyanka Shetty’s picture

This is a great tip!
Thanks,
Priyanka