apache 2.0 autentication and authorization help request
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > apache 2.0 autentication and authorization help request




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    apache 2.0 autentication and authorization help request  
John


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-07 12:28 PM

I've spent almost a full day looking for a solution to my problem.
Hints and tips (or full out solutions) are appreciated.

I have Apache 2.0 on Windows 2003 server and am trying to configure
my
httpd.conf to control access to my Subversion 1.4x repository. None
of
the software can be changed very easily - I'm stuck with what I have.


I have several repositories to which I want to grant all company
employees read access. Company employees can be authenticated in ldap
by their Global IDs and passwords (separate from our pc/network IDs).
I want to restrict WRITE access on a repository basis using some sort
of white list.


So, the user would access the repository and Apache would prompt for
a
GID and password. If the user authenticates Apache further checks to
see if they are in the whitelist (group) for that particular
repository. If they are not in the group, only READ access is
granted.
If they are in the group, WRITE access is granted as well as read.


I've been able to make ldap and group/file access work separately but
not together and it is always either R/W or no access. I also don't
want to maintain a separate password file - I only want to use the
password that is stored in ldap.


Here is my current Location section:


<Location /svn/sandbox2>
DAV svn
# list repositories
SVNPath D:/svn/sandbox2/
# our access control policy
AuthType Basic
AuthName "Subversion Secondary Sandbox"
AuthLdapUrl ldap://directory.xxxxxxx:###/ou=JP,ou=JAPAN,o=GROUP?uid
(NOTE - modified the url for posting)
AuthGroupFile D:/svn_conf/source_library_groupfile
Require valid-user
Require group sandbox2
</Location>


Thanks!






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register