public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Cyrill Helg <linux@solnet.ch>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Apache: Rechte für .php files richtig setzen?
Date: Wed, 3 Aug 2005 23:33:14 +0200	[thread overview]
Message-ID: <200508032333.14129.linux@solnet.ch> (raw)
In-Reply-To: <42F09FC6.1010901@wentz.it>

Am Mittwoch 03 August 2005 12.43 schrieb Stephan Wentz:
> Cyrill Helg wrote:
> > Am Mittwoch 03 August 2005 08.39 schrieb Stephan Wentz:
> > [...]
> >
> > Erstmal besten Dank für deine Ausführungen. Mit den php Dateien scheinst
> > du Recht zu haben. Aber das Problem ist auch, dass man mit wget auch
> > Bilder und sonstige Files holen kann. Wie schütze ich diese Ordner so,
> > dass mein cms das Zeugs lesen kann, jedoch nicht ein User aus dem Web?
>
> Auslieferscript benutzen.
> Pack die sensitiven Daten ausserhalb des Webroots, benutze eine klasse
> wie PEAR::HTTP_Download und liefer die Sachen darüber aus, dann kannst
> du naemlich noch eine Checks einbauen, wie z.B. ob eine gültige Session
> vorliegt. Setzt natürlich voraus das dein CMS einen vernünftigen
> Login-Mechanismus hat. Wenn kein gültiger Login vorhanden ist lieferst
> du die Dateien einfach nicht aus und schmeisst nen Fehler, fertig.

Habe ich mir auch schon überlegt, scheint aber zu kompliziert zu sein. Müsste 
ich denn in der apache Konfiguration jeden Ordner angeben um den Zugriff zu 
verweigern oder wie kann ich das rekursiv erledigen?

> > 
> Gruss, Stephan

-- 
gentoo-user-de@gentoo.org mailing list



  reply	other threads:[~2005-08-03 21:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 15:49 [gentoo-user-de] Apache: Rechte für .php files richtig setzen? Cyrill Helg
2005-08-02 17:39 ` Sebastian Damm
2005-08-02 17:44   ` Cyrill Helg
2005-08-02 17:58     ` Cyrill Helg
2005-08-02 19:43     ` Sebastian Damm
2005-08-03  6:39       ` Stephan Wentz
2005-08-03 10:35         ` Cyrill Helg
2005-08-03 10:43           ` Stephan Wentz
2005-08-03 21:33             ` Cyrill Helg [this message]
2005-08-04  6:33           ` Sebastian Damm
2005-08-04 14:43             ` Cyrill Helg
  -- strict thread matches above, loose matches on Subject: below --
2005-08-02 16:15 Maillinglisten
2005-08-02 16:42 ` Cyrill Helg
2005-08-02 17:16   ` Olaf Niermann
2005-08-02 17:22     ` Cyrill Helg

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=200508032333.14129.linux@solnet.ch \
    --to=linux@solnet.ch \
    --cc=gentoo-user-de@lists.gentoo.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox