How to restrict download file for authentication in drupal I have create one file field in my node create form , file is accepting (txt,pdf,xlx,docx) files only.
 but in node view page, i want to authenticate our file before download.

I have create one term and condition checkbox, if user check this term and condition checkbox , then he should be able to download the file..

This functionality i need to do, please suggest me any module is available for this..

or if this functionality is possible through conditional fields , so please suggest me, how can i do
You can try Field Permission Module


  The Field Permissions module allows site administrators to set
  field-level permissions to edit, view and create fields on any entity.


Demo Video