Reading Apache Access Rules

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
snappca
Forum Newbie
Posts: 5
Joined: Sat Jan 27, 2007 7:32 am

Reading Apache Access Rules

Post by snappca »

I was hoping someone might point me in the right direction. I'm using LDAP to handle user authentication and Apache's "require valid-user" and "require ldap-group ..." entries in "Location" elements in my server configuration. What I would like to do is only show a link on a web page if the current user has access to the location that it would be linked to.

Basically I am asking if PHP is capable of understanding Apache's access rules for locations on the server.

Let me know if I'm not explaining my question well enough.

Thanks
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I don't know, but would recommend googling for "php ldap authentication"
(#10850)
Post Reply