added mediaroot media storage dir security setting.