根据XML语言编码特点,给出了基于XML文档数字水印的方案和算法.该算法在没有改变XML文档长度及显示效果的前提下,保证水印不易被察觉并具有良好的抗攻击性能.实验结果表明:该方案具有较好的隐蔽性和鲁棒性,在解决网页的安全保护问题上有一定的应用价值.
Starting with the coding feature of the XML, this paper presented a new algorithm for the digital watermarking based on XML. The display effectiveness and the length of document are not changed by the algorithm, but watermarking can not easily be detected and attacked. Experiments have shown that this new algorithm has good invisibility and robustness. It can be widely used for the security of the webpage.