How can I differentiate Spark from a Sparkweb client?

Hi, I need to control which client can connect to my openfire server. Is there any way I can do this?