webova autentifikace
Michal Safranek
safranek na jhrnet.cz
Pondělí Červenec 12 05:27:17 CEST 1999
Zdravim,
> .htaccess
> ------------
> AuthName Zadej_heslo
> AuthType Basic
> AuthUserFile .htpasswd
>
> <Limit GET>
> order allow,deny
> allow from all
>
> require valid-user
> </Limit>
Toto reseni ma jednu malou chybicku ... kazdy si muze (po autorizaci) stahnout
.htpasswd a .htaccess . Doporucuji pridat do httpd.conf jeste:
<Files .htpasswd>
Order allow,deny
Deny from all
</Files>
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
S pozdravem
M.S.
--
Name : Michal Safranek <safranek(at)jhrnet.cz>
Descr: admin of *.jhrnet.cz, after-holiday muni student, linuxfan, human being
Motto: Unix is an operating system. Windows is a Nintendo with keyboard.
Další informace o konferenci Linux