a nginx module to control static resources's access through valid token.