Original post

I have a web app written in for which I would like to use ldap user authentication. I am wondering how I can secure certain routes, so that only authenticated users would be able to access that.