Click here to Skip to main content
12,406,342 members (69,905 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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 want to hide "filepath/swffile.swf" name.
is it possible to do that. please tell me your valuable suggestions...!
Posted 8-Feb-13 1:41am
v6
Comments
ryanb31 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100