White listing resource files