On Mon, Jun 6, 2011 at 9:14 PM, Geoffrey Spear <[email protected]> wrote:

>
>
> On Jun 4, 3:03 am, Pankaj Chawla <[email protected]> wrote:
> > Hi
> >
> > I created a xmpp bot on the appengine. The problem is that by default
> > any invitation sent to the bot gets added as subscribed user and can
> > send and receive messages from the bot. I want to control this and/or
> > disallow auto acceptance of invitations. I tried controlling it by
> > having handlers for the xmpp_subscribe service but it doesnt seem to
> > work. Any help will be appreciated.
>
> A user can only *receive* messages from your bot if your code sends
> them. Forget about the invitations and only respond to messages from
> trusted users.
>
>  Yes I agree but since the bot auto accepts invitations, that means anybody
who knows the appid can add the bot as their buddy and then start sending
messages like crazy to it. I can sure filter them out but wont all that
processing
eat into my quotas of inwards bandwidth usage and cpu cycles? Is there
a better way to tackle this, by say disallowing auto acceptance of
invitations
itself. I am new to appengine so my question might be already be answered
but google search didnt reveal any.

Thanks
Pankaj

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to