Communicate with website visitors in real time: Simple web based chat / IM

2009-04-24 Thread Michal Charemza

Hi,

I'm looking to communicate with my website visitors in real time.  
Ideally if they send me a message it will appear in my jabber client.  
I have thought of a way to construct a 'naive' version:


- Use a BOSH connection manager (like Punjab) and a JS library (like  
Strophe)
- Use a single JID for all visitors, say 'webu...@mydomain.com' but  
have a different resource for each visitor
- In the JID buddy list for webu...@mydomain.com, have my personal JID  
added. So when a user sends me a message, it is sent to my usual  
client. Because each webuser has a unique resource, sending back to  
the same user is handled fine.


In order for this to happen, the JS front end would need the password  
for webu...@mydomain.com. This is why I call this the 'naive' method.  
With this password a malicious user can log in using a standard  
client, remove me from it's buddy list, or add others to its buddy  
list, change the password, etc...


Is there a better way than this naive version that avoids giving  
visitors a method to 'mess up' the 'webuser' account?


Michal.


--
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com



Re: Communicate with website visitors in real time: Simple web based chat / IM

2009-04-24 Thread Michal Charemza

On 24 Apr 2009, at 13:01, Tomasz Sterna wrote:

From: Michal Charemza michalchare...@gmail.com
I'm looking to communicate with my website visitors in real time.   
Ideally if they send me a message it will appear in my jabber client.


Use http://www.meebome.com/


I guess I was hoping to not involve a 3rd party, and not have other  
people's branding on my site. I am only after a very basic chat  
system...




(They use jabberd2 under the hood :D )



So then it definitely is possible with jabberd2! So I guess my  
question is: how?



Michal.

--
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com