From: Stephan Wentz <stephan@wentz.it>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Apache: Rechte für .php files richtig setzen?
Date: Wed, 03 Aug 2005 12:43:18 +0200 [thread overview]
Message-ID: <42F09FC6.1010901@wentz.it> (raw)
In-Reply-To: <200508031235.42916.linux@solnet.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Gruss, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC8J/G8qQ9XV7tBNQRAvuaAJ9iGCSbCAYkDyn6NFzq8buQPa1V8wCg/n3Q
Akzv4ThtpJNd8bzGKbXGM+k=
=gxSh
-----END PGP SIGNATURE-----
--
gentoo-user-de@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-03 10:43 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 [this message]
2005-08-03 21:33 ` Cyrill Helg
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=42F09FC6.1010901@wentz.it \
--to=stephan@wentz.it \
--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