you guys I need the plugin
I want only active user to download attachment
What do you mean with active user?
It is already the case that users in the Awaiting Activation group cannot download attachments.
See: Admin CP -> Users & Groups -> Groups -> Awaiting Activation -> Forums and Posts -> Can download attachments?
I want only those who are online every time can download attachment
You aren't eligible for support on these forums I'm afraid.