Just take download permission in flow

Hello guys. I have limited permissions of files based on their name with filename check in workflowengine. My problem is limitation of filename check for files is too much for me . I want to limit permission for example just remove download button so user cant download file . How can i do this? At the moment i cant even share the file