Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9789

Re: php includes in readable directory

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.php
Subject Re: php includes in readable directory
Date 2013-06-09 20:09 +0000
Organization A noiseless patient Spider
Message-ID <kp2ndj$ror$2@dont-email.me> (permalink)
References <johnand982SPAM-F0D13B.10391709062013@News.Individual.NET> <kp1uur$8nj$1@dont-email.me> <johnand982SPAM-B45C54.15271309062013@News.Individual.NET>

Show all headers | View raw


On Sun, 09 Jun 2013 15:27:13 +0100, John Anderson wrote:

> Thanks, but I've administered Solaris for twenty years.
> 
> I've just never done any PhP until now.

Don't put the password file anywhere under the webroot.

If you've been administering solaris for the last 20 years, then it's 
reasonable to assume that you know enough about setting file and dir 
permissions to place a file in your $HOME that is editable by you and 
readable by www-data, without exposing the rest of your $HOME to being 
readable by www-data.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

php includes in readable directory John Anderson <johnand982SPAM@gmail.com> - 2013-06-09 10:39 +0100
  Re: php includes in readable directory "J.O. Aho" <user@example.net> - 2013-06-09 12:59 +0200
  Re: php includes in readable directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-09 15:11 +0200
  Re: php includes in readable directory Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-09 09:16 -0400
    Re: php includes in readable directory John Anderson <johnand982SPAM@gmail.com> - 2013-06-09 15:27 +0100
      Re: php includes in readable directory Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-09 20:09 +0000
      Re: php includes in readable directory Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-09 16:57 -0400
  Re: php includes in readable directory Fred <fr-icsr@numericable.fr> - 2013-06-09 17:44 +0200

csiph-web