is it possible to protect files uploaded with acf “file field” from hotlinking?
I have uploaded some pdf to my custom post and I would like them to be visible only by logged in users
yes, it is possible, but you have to code something. There are many possibilities but the are all to complicated to give a tutorial on them here
Like this one https://htaccessbook.com/require-login-access-wordpress-media-files/