
2 answers
Hello Pooja,
No, it is not possible If a user has access to the record, they will have access to the Files on that record (either attachments or Files in the record's chatter feed)
Make a File Private on a Record
https://help.salesforce.com/articleView?id=collab_files_make_private_on_record.htm&type=5
Hope It Helps..!
Thanks & Regards,
Paras Shah