How can I make some attributes of the File resource private?

Wondering if you ended up getting this to work without using the privateAttributes?

Looking for a way generate a restapi query that will allow us to only give bacvk the thumbnail url and not everything else like hash/height/name etc ?