Added protection from direct file access