Forum Moderators: open

Message Too Old, No Replies

Iframes question

         

digitman

11:00 pm on May 17, 2005 (gmt 0)

10+ Year Member



Iframes question

--------------------------------------------------------------------------------

A client needs a script that takes a url as the input and generated html code that would launch the url as an encryped Iframe. Here is the exact specification they gave:


-Script is installed on SomeDomain.com at SomeDomain.com/AfTools

-On the index page, you select "Covert Cookies" and enter:
"http://SomeAffiliate.url/go.php?12345" for the "Affiliate URL" and
"http://SomeDomain.com/index.html" for "Add to Page 1"

-The script then generates an encrypted iframe code which loads [SomeAffiliate.url...] into a 1 X 1 iframe and inserts this encrypted code into [SomeDomain.com...] The script also displays the encrypted code for copying and pasting ito external pages.


I do know how to generate Iframes but don;t know how to do the encrypting thing he mentions. Any suggestions

tedster

3:52 am on May 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1x1 iframes can be up to all kinds of "evil" deeds - for instance, it's a common way of hacking web pages on servers, so that they spread viruses and worms. For this reason, many security programs will block this kind of inserted iframe code from executing at all.

If you are convinced the client's code is legitimate, you could just paste it in as supplied. Or you could work to "crack" the encryption. It may well be simple unicode versions of ordinary characters - or it might depend on some additional script on another server that unscrambles the encryption.

Essentially, it sounds like the client wants to get around the wishes of their users - by encrypting the script so their programs don't detect it. The quote you pasted in also says that the encrypted code will be displayed for you - so you don't have to do the encrypting yourself, should you decide that you do want to be involved in this affair.