From: Anton Farygin <rider@altlinux.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] LRN & database.inc Date: Fri May 25 16:04:01 2001 Message-ID: <3B0E4BC4.8000608@altlinux.ru> (raw) In-Reply-To: <20010524124542.B3377@localhost.localdomain> Mikhail Zabaluev wrote: > Hello Anton, > > On Thu, May 24, 2001 at 10:54:28AM +0400, Anton Farygin wrote: > >>Понятно. >>Итак, посмотрим - что же для меня нужно: >>1. Включать библиотеки LRN, которые в данный момент лежат в составе >>сайта, но есть мысль вынести их за его пределы. >>2. Включать database.inc, в котором будут настройки сайтов и пароли >>доступа к базам. >>3. Читать/писать в /tmp >>4. Читать .theme файлы, которые в принципе могут лежать в любом месте >>системы, в том числе и в пользовательских каталогах (форум на >>gimp.linux.ru.net так и реализован). >> > > Если .theme лежит в том же каталоге, что и вызывающий ее скрипт - нет > проблем, включаешь '.' в перечисление open_basedir. В том то и весь вопрос - они могут лежать где угодно. Это конечно можно разрешить организвационными мерами, но не так просто ;( > > >>И еще - а как в таком случае обстоят дела с запуском внешних программ? >>Например тип файла я определяю с помощью системной утилиты file, которая >>обращается к /etc/mime-magic и /usr/share/mime ??? >> > > Вот тут бы не помешал exec-wrapper, который бы менял UID. Потому что > иначе можно с помощью cat прочитать все, что мы пытаемся защитить. Да. именно так. Rgds Rider
prev parent reply other threads:[~2001-05-25 16:04 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-05-16 12:56 Vyt 2001-05-23 3:27 ` Anton Farygin 2001-05-23 11:42 ` Mikhail Zabaluev 2001-05-23 12:37 ` Vyt 2001-05-24 10:50 ` Anton Farygin 2001-05-24 11:16 ` Vyt 2001-05-24 12:33 ` Mikhail Zabaluev 2001-05-25 16:03 ` Anton Farygin 2001-05-23 14:32 ` Vlad Vostrykh 2001-05-23 23:38 ` Mikhail Zabaluev 2001-05-24 10:52 ` Anton Farygin 2001-05-24 12:32 ` Mikhail Zabaluev 2001-05-25 16:02 ` Anton Farygin 2001-05-24 12:29 ` Mikhail Zabaluev 2001-05-25 16:04 ` Anton Farygin [this message]
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=3B0E4BC4.8000608@altlinux.ru \ --to=rider@altlinux.ru \ --cc=mandrake-russian@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