This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2005 > Re: securing files on the server/ hackers and spammers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: securing files on the server/ hackers and spammers
gareth

2005-08-31, 7:21 pm

Well in theory, no one will know the location of the text file, so they wont
be able to find it anyway.

However, the easiest solution is to put the file in a directory outside of
your web site folder, or if you cant do that put it in a directory protected
by a .htaccess file, so a username and password is required to read it over
the web. Lookup .htaccess in google for instructions on how to do this.

Your PHP files are safe, as they are parsed by the web server before
anything is sent to the browser, so none of your PHP code can be seen.


--
Gareth
http://www.dreamweavermxsuppor_t.com/

PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
http://www.phploginsuite.co.uk_/


Michael Fesser

2005-08-31, 7:34 pm

..oO(gareth)

>Your PHP files are safe, as they are parsed by the web server before
>anything is sent to the browser, so none of your PHP code can be seen.


Assuming the server is configured and working properly. Even PHP scripts
that are included by the page scripts should be stored outside the
document root if possible for security reasons.

Micha
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews