开发者

change extension obfuscate XML file contents

开发者 https://www.devze.com 2022-12-21 12:25 出处:网络
I have SlideShowPro, a Flash photo app that loads an XM开发者_JAVA技巧L file with the paths to the images.

I have SlideShowPro, a Flash photo app that loads an XM开发者_JAVA技巧L file with the paths to the images. Now I don't want people to go sniff in the XML file to get to the images.

I tried changing the file images.xml to spacer.gif and it seems to work fine. But I would like to know if I would run into any problems changing the extension.

btw already used a few techniques to make the images not so accessible, I know there is no bulletproof solution. Obfuscating the XML file is just another trick..


I think changing the extension is fine as long as you define a clear mine type everywhere you use it, otherwise browsers and servers might start to do guesswork based on the extension.

If you are able to modify the Flash app, you might implement a simple decoding mechanism like rot13, and save the xml encoded.

0

精彩评论

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