When a customer must share a login or other private detail, use the Sensitive data field. It is kept out of emails, the print view and the knowledge base, and it is erased automatically when the ticket is closed.
Optional scheduled tasks can also remove old attachments or tickets after a retention period you set.