On Thu, 29 Mar 2001, Radu Filip wrote:

> Salut!
>
> Iata ce vreau sa fac si nu-mi iese:
>
> Am o mashina cu useri care au acces la conturi numai prin ftp. Folosesc
> proftpd. Am nevoie ca anumiti useri sa nu se poata loga decat de la
> anumite adrese, in timp ce altii sa se poata loga de oriunde.
>
> Am tot invartit <Limit>, <Directory>, <Allow> pe toate partile dar nu
> m-am prins cum se face.
>
> TIA,
>   Radu

         #########################################################
         # Deny All
         #########################################################
         <Directory />
           <Limit ALL>
             AllowUser mihai
             DenyAll
           </Limit>
        </Directory>
        #########################################################
        # Allow in user directory
        #########################################################
        <Directory ~>
          <Limit ALL>
               Allow 195.200.31.220
               Allow 212.32.17.0/26
               DenyAll
          </Limit>
        </Directory>
        <Directory ~>
          <Limit ALL>
                AllowUser x1
                AllowUser x2
                DenyAll
          </Limit>
        </Directory>


-- 
-------------------------------------------------------------------
Mihai Ichim
Network Administrator
ELECTRON M.BIT                     http://www.embit.ro
-------------------------------------------------------------------
e-mail:[EMAIL PROTECTED]
-------------------------------------------------------------------

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui