In Node.js I made simple router, so server opens everything what user typed in URL. So user type: http://example.com/directory1/test.html and it will be opened.
But I don't want to allow to open some of directories. I want to allow user to open files which are only in directory called for example "userFiles".
How can I do that?