Re: About XML XSLT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kelvin Park wrote:
I'm trying to make a web site that it entirely XML/XSLT/PHP driven, without
MYSQL.
However, since I need to reuse the database from my last web site, I had to
parse XML with PHP and save it as a file (e.g. xmlFile.xml) in my htdocs
folder in FTP. However, I understand that this can cause some security
issues such as someone just accessing the xml file from the htdocs folder.
Would it be the best way to just place the parsed/saved XML file in the root
folder of the FTP server for security purposes? Root folder meaning, the
parent folder of htdocs, where it cannot be accessed normally through the
browser.

What you are suggesting would be the best way of making the file in accessible from the web server.

But their is another ways. If you are running apache, you could setup apache to not serve that file, or file type.

--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux