Setting up Role Permission on attach file and viewing an attached file

Hi there,
Can anyone guide me how to set permission on how to stop a user to view an attached file in a document.
I mean in an employee document there are some confidential data attached to the document and any user having access to that particular document can view it by clicking on it.
So is there a way to set permissions for it.
Also if it is possible to set permission to attach file button.

Thanks.

@Ujjawal

For now there is no permission restriction on the Attachments in a Document.

Please create github feature suggestion for the same.

it’s great idea , if you make github feature sugestion send link to https://www.bountysource.com so others also can contribute for this feature .