Advanced Security

If you are using AtomChat on a website

First set chat_signature variable along with other Javascript variables when logging in the user.

What is chat_signature?

Data signature needs to be calculated from the MD5 digest of a string containing the ID, name and API Key (in that order) separated by commas.

Let's assume these are your variables:


You can calculate the signature using the following code:


Lastly, enable the security setting: "Enable Data Signature Validation?" from Admin Panel -> Settings -> Authentication -> Security.

Document image

Enable Domain Mapping

By enabling the Domain Authentication setting, you can restrict the AtomChat Access to a particular domain.

Perform the following steps to Enable Domain Authentication/Mapping

  • Go to AtomChat Admin Panel -> Settings -> Authentication -> Under 'Security' tab -> Set 'Enable domain authentication' to 'Yes'.
Document image
  • Once you enable the setting, you can see the input box where you need to enter the domain name (enter multiple names separated by commas). Note: Enter domains without http/https, eg.,,

Document image
  • Click on Update.
  • Clear your browser cache and visit your website.