PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Authentify users comming from a range of address
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Authentify users comming from a range of address

Réponse
 
LinkBack Outils de la discussion
Vieux 30/09/2006, 15h01   #1
brnbls@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Authentify users comming from a range of address

Hi,

We have an apache 2.??? server and within this config some Directory,
Location, ProxyPass, etc.

1. Directory directives used to go within our php application:

<Directory /MySite/*>
....
</Directory>

2. Location directives are used to access on Subversion repositories

<Location /MySite/svn/myrepo01>
....
</Location>
<Location /MySite/svn/myrepo02>
....
</Location>

3. ProxyPass and ProxyPassReverse to rewrite access on internal j2ee
applications

ProxyPass /MySite/jira/ http://myinternalserver/MySite/jira
ProxyPassReverse /MySite/jira/ http://myinternalserver/MySite/jira

As you can see all those adresses begin with /MySite

It works well. The authentication for our internal users is done, if
necessary, by the different elements.

MY PROBLEM: I need to authentify users that are coming from a range of
IP Adresses. Those users are coming from Internet. There are going
trough a webgate server. This server have a certain range of addresses.

I imagine to use Proxy for this range of ip address. Is it the correct
technic?

And if Yes, How can I do to proxying all the different directives?

Thanks,

Bruno

  Réponse avec citation
Vieux 30/09/2006, 15h58   #2
blaisbr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Authentify users comming from a range of address

Some more informations,

My goal is to find a technic to keep the different directives as it is,
and to surround them with a proxy or something like that. I want to
avoid to duplicate all the directives. I don't want a directive from
intranet and another one for this range of address.

The authentication is "just" to validate the incoming user. All those
incoming users are registered within a central ldap server.

Bruno

  Réponse avec citation
Vieux 01/10/2006, 17h56   #3
blaisbr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Authentify users comming from a range of address

Is it a solution to put a Limit like this within the httpd.conf file?

<Limit>
order allow,deny
deny from X.Y.Z.[A..B]
allow from all
AuthType Basic
AuthLDAP...
Require valid-user
</Limit>

And outside this denied address, it is a full access.

Thanks,

Bruno

  Réponse avec citation
Vieux 01/10/2006, 21h16   #4
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Authentify users comming from a range of address

"blaisbr" <brnbls@gmail.com> schreef in bericht
news:1159721790.517542.254580@k70g2000cwa.googlegr oups.com...
> Is it a solution to put a Limit like this within the httpd.conf file?
>
> <Limit>
> order allow,deny
> deny from X.Y.Z.[A..B]
> allow from all
> AuthType Basic
> AuthLDAP...
> Require valid-user
> </Limit>
>
> And outside this denied address, it is a full access.

NO

Reading the documentation is an easier way to learn than guessing.

http://httpd.apache.org/docs/2.0/mod/core.html#limit

HansH


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08991 seconds with 12 queries