开发者

XML security in world wide web

Im a newbie in XML and i have some questions

  1. Can XML be used in stead of normal database (store data in a tuple and column) in website?
  2. XML is built to share information easier (from my understanding) such as can share cross platform and in d开发者_运维问答ifferent language used so Is it secure to store secure data in XML?

thank you so much


  1. You could use it as a (very simple) datastore.
    If you are using .NET, System.Data.Dataset has good importing and exporting from xml. And then there's linq to xml which is just great :)
  2. It's not secure. You could encrypt the text before you write to the xml file.... but if you want something secure, you don't want to use an xml file.


1) XML is not a database but a markup language originally intended to markup documents. The language has the ability to describe the contents of its elements but that must be interpreted by some other language. It is used in a db sort of way to describe the contents of a file but it won't retrieve any data without an outside application.

2) XML is cross platform since it's just text. This is one big advantage in that it works everywhere with everything.


"Can XML be used in stead of normal database"

Sure

"store data in a tuple and column"

Sort of. It's hierarchical data rather than relational.

"Is it secure to store secure data in XML"

XML is a file format for a text document. Security is a separate layer outside of the XML document.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜