apache: Individual file password protection

Jimmy Z. Stergiou hermes at mbn.gr
Thu Feb 25 00:29:04 EET 1999


On Wed, 24 Feb 1999, Mihalis Tsoukalos wrote:

> Exo ena arxeio [cgi srcipt 'H HTML selida] kai thelo otan paei kapoios apo
> web na to prospelasei na bgalei o apache to parathiraki kai na zitaei
> login/password. Pos ginetai afto; Exo diabasei pos ginetai gia directory
> alla den exo brei mexri tora pos ginetai gia memonomeno arxeio.

den ginete auto. toulaxiston oxi me plain apache. prepei oposdipote na
yparxei ena dir mesa sto opoio 8a iparxei to .htaccess pou orizei to
userfile kai loipa options
isos kaneis kati me cgi 'h me php. (8eoritika panta)

> Episis thelo na matho an mporo mesa apo c/c++ na peirazo [diladi na
> allazo] ena arxeio me passwords tou apache. An nai, pos; [Iparxei kapoio
> API;] An oxi, iparxei enallaktiki lisi;

API den nomizo na yparxei.
to arxeio me ta passwd einia ths morfis:
user:password
to password einia encrypted kai mporeis na to "paspatepseis" me thn
crypt()
fisika mporeis na deis kai to htpasswd.c (erxete mazi me ton apache) pou
einia to proggie pou bazei xristes kai allazei passwd se ena file auths
ths morfis

Jimmy Z. Stergiou aka Hermes
hermes at mbn.gr, hermes at irc.gr


--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list