Drupal 7: How can I restrict that only sender and receiver can download the attached file with the private message?
I don’t understand the full context of what you want to do?
Sender/Receiver? are you talking about using Drupal’s built in site-wide contact messaging system and adding attachments?