7 messages in com.googlegroups.google-gadgets-api[Google-Gadgets-API] Re: How to restr...| From | Sent On | Attachments |
|---|---|---|
| ...@zghanv/- | 27 Jun 2008 05:05 | |
| Vision Jinx (Guru) | 27 Jun 2008 05:12 | |
| ...@zghanv/- | 27 Jun 2008 11:36 | |
| Vision Jinx (Guru) | 28 Jun 2008 05:46 | |
| David Grayson | 28 Jun 2008 16:45 | |
| Afnan Zari | 28 Jun 2008 17:42 | |
| นายบุญชัย แสงจันทร์ | 02 Jul 2008 09:06 | .jpg |
| Subject: | [Google-Gadgets-API] Re: How to restrict domain to use gadget![]() |
|---|---|
| From: | Vision Jinx (Guru) (vjn...@gmail.com) |
| Date: | 06/28/2008 05:46:47 AM |
| List: | com.googlegroups.google-gadgets-api |
Hi,
Google has a few mechanisms in place to help protect users privacy so this makes things a bit tough and it may be an uphill battle. You can try checking for the referrer or something (I don't know the details of your gadget) or maybe implement an "API key" for users that links to the domains, or see if this .htaccess trick works here >> http://www.javascriptkit.com/howto/htaccess14.shtml
Depending on how your code works you may be able to work with something there. Otherwise you may have to just contact the offending website and let them know they are in violation of your TOS.
Cheers! Vision Jinx
On Jun 27, 12:36 pm, "@zghanv/-" <azgh...@gmail.com> wrote:
Hi again.
The ip of remote machine comes in REMOTE_ADDR property but it tells us the client machines ip, not the gadget hosting website. Let me explain more ... for e.g.
I've a gadget called "Get Quotes" and i have certain rules to publish this gadget.
3 website used my gadgets and pasted htmlcode on their websites, and accepted my rules.
The number 2 website violated my rules and and i dont want my gadget to be displayed on his website.
I think it helps.
On Jun 27, 5:13 pm, "Vision Jinx (Guru)" <vjn...@gmail.com> wrote:
Hi,
I had a problem with bandwidth leaches and created a .htaccess file to prevent them from accessing the server. I would think a similar thing could be done to prevent domains and IP (even IP ranges) from accessing your site/gadgets too. I checked my server logs to get the info I needed.
Cheers! Vision Jinx
On Jun 27, 6:05 am, "@zghanv/-" <azgh...@gmail.com> wrote:
Hi,
I've made a gadget and it is available for public. But i want my gadget not to display for some domain name e.g. "www.abc.com". Is there any possibility?
I'm using PHP on server, I tried to get $_SERVER to check remote domain but was unable to get it.
Please let me know the solution asap.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---





.jpg