隐藏或加密对象文件名 [英] Hide or Encrypt the Object file name

查看:108
本文介绍了隐藏或加密对象文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在我的网站上我想显示 SWF 格式文件。以下代码我用来显示它。当我在Web浏览器中检查页面源时,它显示文件名和路径。但我想隐藏它或加密它。



Hi,

in my website i want to display a SWF format file. the below code i have used to display it. while i check the page source in the web browser it shows the filename and the path. but i want to hide it or have encrypt it.

<object align= "middle" 

        style="width: 574px; height: 358px" 

        id="filepath/swffile.swf" 

        visible =false>

        <embed  src="<%=swfFileName%>"   

                quality="high" 

                pluginspage="http://www.macromedia.com/go/getflashplayer" 

                type="application/x-shockwave-flash" 

                width="425" 

                height="344">
        </embed>
</object>





i想隐藏 filepath / swffile.swf 这个名字。

是否可以做到这一点。请告诉我你宝贵的建议......!



i want to hide "filepath/swffile.swf" name.
is it possible to do that. please tell me your valuable suggestions...!

推荐答案

不会发生。为了使html能够在客户端工作,它需要以可读格式获得该值。

为了实现这一点,所有浏览器都必须在其渲染中内置代码知道如何翻译这个值的引擎,这反过来意味着用一个像Fiddler这样的工具来嗅探真实文件位置几乎不需要任何努力。

重点是,尝试这样做没有意义。
Not going to happen. In order for the html to work on the client side it needs to have that value there in a readable format.
In order for this to be possible all the browsers would have to have code built into their rendering engines that would know how to translate this value, which in turn means that it would take virtually no effort at all for someone to sniff the real file location anyway with a tool like Fiddler.
The point is, there is not point trying to do this.


这篇关于隐藏或加密对象文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆