ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Apache help need
Date: Thu, 13 Nov 2003 10:12:36 +1000
Message-ID: <20031113101236.463b8749.dima@sakhalin.ru> (raw)
In-Reply-To: <20031112181157.6dc6db74.gosha@zkb.ru>

On Wed, 12 Nov 2003 18:11:57 +0500
Igor Solovyov <gosha@zkb.ru> wrote:

> Hi!
> On Wed, 12 Nov 2003 14:55:42 +1000
> Dmitry Lebkov <dima@sakhalin.ru> wrote:
> 
> > > Вот только правильно ли я сделал с точки зрения безопасности?
> > > Ведь теперь этот файл доступен для чтения абсолютно всем.
> > 
> > Дык отдай его во владение вебмастеру и на чтение только апачу
> > и убери 'чтение для всех':
> > 
> > # chown webmaster.apache .htpasswd
> 
> Так не получается. :-))
> 
> chown webmaster.apache .htpasswd
> chown: `webmaster.apache': invalid user
> 
> А вот наоборот (apache.webmaster) - все нормально. :-)

Ага, пользователь webmaster отсутствует. %) 
 
> > # chmod 640 .htpasswd
Ну тогда и права надо поставить такие: 'chmod 460 .htpasswd'.
Основная идея - не дать апачу лишних прав. А запись в .htpasswd
для апача явно лишняя ... %) Хотя, если пароли будут меняться
через веб, то права на запись для апача придется оставить (опять
же, если не использовать более другие схемы управления именами и
паролями %).

> Спасибо за помощь.

Да особо не за что ... ;)

--
WBR, Dmitry Lebkov


  parent reply	other threads:[~2003-11-13  0:12 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03  5:07 [Comm] " Gosha
2003-11-03  7:08 ` [Comm] " Konstantin Lepikhov
2003-11-03 13:27   ` Igor Solovyov
2003-11-05  6:44   ` Shawkat Nizamov
2003-11-05 15:10     ` Igor Solovyov
2003-11-06  5:36       ` Shawkat Nizamov
2003-11-06 13:18         ` Igor Solovyov
2003-11-07  5:34           ` Shawkat Nizamov
2003-11-08  6:35             ` Igor Solovyov
2003-11-08  7:17               ` Shawkat Nizamov
2003-11-08 12:33                 ` Igor Solovyov
2003-11-10  5:26                   ` Shawkat Nizamov
2003-11-10 15:17                     ` Igor Solovyov
2003-11-10 16:03                       ` Dmitry Lebkov
2003-11-11  4:30                         ` Gosha
2003-11-11  4:48                           ` Gosha
2003-11-11  9:45                             ` Shawkat Nizamov
2003-11-12  4:18                               ` Gosha
2003-11-12  4:55                                 ` Dmitry Lebkov
2003-11-12 13:11                                   ` Igor Solovyov
2003-11-12 13:20                                     ` Leonid B. Sysoletin
2003-11-12 13:39                                       ` Igor Solovyov
2003-11-12 13:54                                       ` Dmitry Nechaev
2003-11-13  0:12                                     ` Dmitry Lebkov [this message]
2003-11-12  5:04                                 ` Shawkat Nizamov
2003-11-12 13:13                                   ` Igor Solovyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031113101236.463b8749.dima@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git