Click on the customer file to indicate if you want to show the attached document files in the customer portal or not.
Nowadays, all the files attached to a Holded document (invoice, budget, proforma, etc.) are public when sending the email to the customer (either as an attached document in the email or because they have access to it from the customer portal)