php and xml security

by Oscar Finnsson <finnsson(at)communique.se>

 Date:  Tue, 20 Mar 2001 09:20:53 +0100
 To:  hwg-xml(at)hwg.org
  todo: View Thread, Original
Hi,

I'm working on a php-site that will take info from a xml-file and then 
serve just parts of that information. The thing is that I don't want the 
users to be able to reach the xml-file, only the php-files that serve 
info from the xml-file. Any ideas on how I can accomplish this? I'm no 
guru on php-security. I don't want to use a database, since the 
information is very "irregular".

My second question is regarding generating xml-files with php. I have 
tried to generate SVG-files with php. The code is correct, but the 
browser doesn't want to believe it is a SVG-file.

I'm also wondering what you use to parse xml-files for php. I'm for the  
moment using something written by Dyomedea.

ta-ta
osfi

HWG hwg-xml mailing list archives, maintained by Webmasters