Re: The noob is back! About this directory security...
| From: | Leendert | Date: | Thu, 03 Oct 2002 08:59:37 +0000 |
| Subject: | Re: The noob is back! About this directory security... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22188@lists.php.net to get a copy of this message | ||
"Brett Lathrope" <brett@lathrope.com> wrote in message
news:GIEPINKEEENLDFEMKDFNCEBJDDAA.brett@lathrope.com...
>
> I want to thank everyone that helped me with phpMyAdmin suggestions. It
> took me 6 and a half hours to get it to work, but I got it to work! LOL!
> You guys have no idea how confusing the configuration file is for some
that
> is new to php and doesn't know unix.
>
> And that leads me to my question.
>
> I have a directory where I put phpMyAdmin, how to I keep everyone out but
> me...yet still be able to access it myself.
You can use .htaccess to secure your directory with a user/pass.
http://www.google.com/search?q=htaccess+tutorial
>
> Also, when I create my PHP scripts to access this database (which I've
> actually done) I want to put them in a directory that is safe from prying
> eyes but usable by those coming in through the browser (if that makes
> sense).
Not quite sure what you mean. If you mean people aren't allowed to read your
code: surprise, that's not possible given your PHP configuration is set up
correctly.
>
> You guys keep talking about this chmod command...but I'm using WS-FTP LE
and
> all I get is Owner, Group, and Other with the options to set Read, Write
and
> Execute for each.
That is pretty much what chmod does. I think it will become clearer if you
read some about chmod.
http://www.google.com/search?q=chmod+tutorial
>
> And I've read that I should be 2 directories down?
Don't believe everything they tell you. (More seriously: I have no idea what
you mean by that.)
>
> Thanks guys.
>
> Brett
>