PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi everybody,
I figured out how to authenticate users through ldap.
Now, if the user authenticated successfully I have to give him access
to certain folders on the web server (apache) based on the group they belong to.
How do I accomplish this?
Thanks a lot!
well the main problem is:
after I check the username and password I don't know what to do.
My understanding would be that I should redirect the user to the secure directory... on the web server.
But how do I deny access to that folder if the user tries to access it directly?