Jump to content

Modifying xml file


mona

Recommended Posts

I have an xml file and I'm displaying it using xsl filethis xml file contains information like username, password,..etcI want to allow the user change his password, I need help to find a way to update the xml file and save it on the same fileIf it is possible using xslt, how can I make that?

Link to comment
Share on other sites

XML is NOT good for storing passwords, simply because it's not secured. If I know the URL of the file, I can always see it. And if I don't, there are applications which can crawl through all of your site's content and find it. Such applications are only stopped by "forbidden" errors by the server, however such error also stops every other file to access something from that folder, making it useless.Using XSLT alone, you can't do that. With some client side scripting however I think it might be possible, but it's still not secured.Use SQL to store secured information such as passwords and server side scrtipting for manipulation. Keyword: Security.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...