Restricting Media Folder Access

How can I restrict files per user role?