Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 48898 invoked by uid 500); 22 Nov 2001 09:19:22 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 48874 invoked from network); 22 Nov 2001 09:19:21 -0000 Message-ID: <6BC91587DE7FD411B7C100508BEF08FB01EAB72D@deljmsx01.sapient.com> From: Chandramouli Kharidehal To: dev@httpd.apache.org Subject: Problem with user autehntication Date: Thu, 22 Nov 2001 14:49:42 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C17336.D1D99390" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C17336.D1D99390 Content-Type: text/plain; charset="iso-8859-1" > > Hi > I am new to apache as part of project we are using apache as the web > server and i really love apache Open software > I have some problem with user authentication > As part of our project we have to provide user authentication when the > user clicks on the download link of a file > each user is mapped to set of roles internally and based on these > roles we protect and give permissions to the directory I mean which role > has access to which directory > Now I want this functionality that whent the user clicks on a download > link in the page ( which is our project based page) > a c code should take the information from the HTTP header we are > writing user role :password to the header check compare it with our > configuration file that resides in the web server and give access to the > documents > See the problem comes because we have multiple user roles so when a > user logs in and he has multiple roles > we write role1,role2;password . So the problem is before the user > gets a chance to download the document i wan tto authorize wheter he can > really do it or not in a customised way can i do it in Apache if so please > expalin > Thanks > > Mouli > > > ------_=_NextPart_001_01C17336.D1D99390 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Problem with user autehntication




     
    Hi
        I am new to apache = as part of project we are using apache as the web server and i really = love apache Open software
        I have some = problem with user authentication
        As part of our = project we have to provide user authentication when the user clicks on = the download link of a file
       each user is  = mapped to set of roles internally and based on these roles we protect = and give permissions to the directory I mean which role has access to = which directory

       Now I want this = functionality that whent the user clicks on a download link in the page = ( which is our project based page)

          a  = c code   should take the information from the HTTP header we = are writing user role :password to the header check  compare it = with our configuration file that resides in the web server and give = access to the documents

          See the = problem comes because we have multiple user roles so when a user logs = in and he has multiple roles
         we write = role1,role2;password . So the problem is  before the user gets a = chance to download the document i wan tto authorize wheter he can = really do it or not in a customised way can i do it in Apache if so = please expalin

          Thanks =

    Mouli


     

------_=_NextPart_001_01C17336.D1D99390--