How can i encrypt the full embed code like this as an example check it live http://www.fastpasstv.com/watch/1/2994/1
VmpCYWIxUm5CRFpTWVE4NEJUNVZQZ1UxQnpkWmFBOXNWV0VHWlZsbFZtY0ZlRkEzQkdSU05nQitVV0VCTlZSaUFTZ0VNQUk0QldRRksxSTJWMklNWXc9PQ%3D%3D Code (markup): That looks like a base64_encode'd string
it's not encrypted. it's the actual file name. check this: http://www.fastpasstv.com/zshare/QT...uV0RGZE53TjlVV0VNTzFkN1VtQUhORkYwVkQ5WFpBZG4=
That's pretty pointless though, it's easily reverse engineered, plus when you use something like firebug etc it will give away exactly what it shows
JAY6390, its true. But I don't see any ways of encrypting filename that can't be reversed with firebug. Flash player will have access to video/audio file anyway and firebug will show it.
I guess there is somthing like that inside .htaccess: RewriteEngine On RewriteBase / RewriteRule ^/zshare/(.+?)$ /script.php?filehash=$1 [L] Code (markup): So basically you can compute some hash of filename and check it in the script and output necessary file.
Filename encoding is also useful for filenames which contain non-standard or 'troublesome' characters such as ' or other entities.
No The you are wrong... the actual file is hosted on zshare.net and its actual file is on zshare server not on fastpasstv
reasoning behind is. i dont want anyone to copy the embed code from my site and post it on their sites...
I just want the my embed code to be encrypted and readable by browser... and no one copy directly from view source the embed code i have a script that i will post the embed code.... http://www.phpsugar.com/pm_demo/chris-isaak/dancin-video_3aa4e9f5b.html if you view the source this is the function that display the embed code to play the videos... <script type="text/javascript"> var embed_code = '<object width="496" height="401"> <param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" /> <param name="wmode" value="window"></param> <param name="allowFullScreen" value="true" /> <param name="AllowScriptAccess" VALUE="always" /> <param name="bgcolor" value="#000000" /> <param name="autoPlay" value="1" /> <param name="flashVars" value="id=v217241218&vid=5521496&lang=en-us&intl=us&embed=1&thumbUrl=http%3A//d.yimg.com/ec/image/v1/video/217241218;size=158x111" /> <embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" type="application/x-shockwave-flash" width="496" height="401" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=v217241218&vid=5521496&lang=en-us&intl=us&embed=1&thumbUrl=http%3A//d.yimg.com/ec/image/v1/video/217241218;size=158x111&autoPlay=1" > </embed> </object>' ; $("#Playerholder").html(embed_code).show(); </script> Code (markup): So How to make that function to be encrypted any how so that when someone view source they see the encrypted code..