From: Tayfun Yurdagül (tayfun49@linuxmail.org)
Date: Tue 23 Sep 2003 - 08:39:17 EDT
IP kismini sen kendin de yapabilirsin
PHP ile gelen adamin IP sini alip
ona gore davanabilirsin
Dizinleride .htaccess .htpasswd diye 2 dosya ile kolayca halledebilirsin...
----- Original Message -----
From: Keltos Kirpi <keltoskirpi@yahoo.com>
Date: Tue, 23 Sep 2003 01:47:13 -0700 (PDT)
To: linux-network@liste.linux.org.tr
Subject: [linux-network] Re: apache directory guvenligi
> Yalcin Cekic wrote:
> > Selam,
> > Web server'daki bir dizin icin bazi IP'lere
> > izin verip digerleri icin username-password sormasini
> > nasil saglarim..
> > simdiden tesekkurler,
> > Y.C
>
> Apache /manual/howto/auth.html dosyasindan alinti.
> O civarlarda daha detay bulabilirsin.
>
> K
>
> ------------------------------------------
> Satisfy
>
> The Satisfy directive can be used to specify that several criteria may be
> considered when trying to decide if a particular user will be granted
> admission. Satisfy can take as an argument one of two options - all or any.
> By default, it is assumed that the value is all. This means that if several
> criteria are specified, then all of them must be met in order for someone to
> get in. However, if set to any, then several criteria may be specified, but
> if the user satisfies any of these, then they will be granted entrance.
>
> A very good example of this is using access control to assure that,
> although a resource is password protected from outside your network,
> all hosts inside the network will be given free access to the resource.
> This would be accomplished by using the Satisfy directive, as shown below.
>
> <Directory /usr/local/apache/htdocs/sekrit>
> AuthType Basic
> AuthName intranet
> AuthUserFile /www/passwd/users
> AuthGroupFile /www/passwd/groups
> Require group customers
> Allow from internal.com
> Satisfy any
> </Directory>
>
> In this scenario, users will be let in if they either have a password,
> or if they are in the internal network.
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
Tayfun Yurdagül
Software Engineer
tayfun_yurdagul@vizyonsoft.com
0 216 455 35 80
www.vizyonsoft.com
-- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze