Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.

XML
<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 want to hide "filepath/swffile.swf" name.
is it possible to do that. please tell me your valuable suggestions...!
Posted
v6
Comments
ZurdoDev 8-Feb-13 7:52am    
I doubt it. It is executed client side so somehow it needs to be there. What are your reasons for wanting to hide it?

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900