Dynamic Banner Linking Code??? Please help.

2 replies
I am developing a new service site that requires users to be able to place a dynamic banner on their site that is hosted on my servers.

Here is what I mean in detail -

I will be providing a "seal" much like the trust-guard.com seal - not the same but with the same sort of requirement.

The seal will be hosted on our servers.

members can place the seal on their sites

however, if a member doesn't pay monthly fee.. the seal is automatically disabled.

It also cannot just be "copied n pasted" either - it needs to be right-click disabled with a pop-up copyright notice.

I know it's some sort of javascript.. i'm pretty sure

Can anyone tell me how can do this?

Thanks for any help..

Tom
#banner #code #dynamic #linking
  • Profile picture of the author wayfarer
    It can't be done securely. JavaScript can be disabled. Disabling right click won't stop users from copying the image, so it could easily be pasted into any site. However, you could make the image clickable so that it goes to your real site, to verify the account is active and valid.

    You give each person an API key, then have them insert an <iframe> that queries the seal based on this key. Because you can program the way your servers react to the query (?key=23445kjk3kjwhatever), you can choose whether or not to display the seal.

    You could also insert the <iframe> with JavaScript, which could give you a little more control; then, if JavaScript is disabled, the seal doesn't display, which is probably not a big deal.

    Like I said, the seal can still be faked, and there's nothing you can do to stop that. If you don't want your images copied, don't put them online. However, with a few precautions, you could probably work up a solution that is acceptable.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[552792].message }}
  • Profile picture of the author harrisunderwork
    Developing an API is probably the best soln as done be recaptcha.

    Thanks
    Signature
    {{ DiscussionBoard.errors[594526].message }}

Trending Topics