Restrict Access to Attachments?

Currently using sm9.33, but are working on upgrading to 9.51.

I am trying to figure out if there is a way to restrict access to attachments in open and closed records.