# Security

We implement security scheme to prevent spam submission for Fcm User. We use security code that use for both side android and server. Security code is secret data, so you should not share to anyone without authorization.

You can generate your new one from this site : [**http://www.unit-conversion.info/texttools/random-string-generator/**](http://www.unit-conversion.info/texttools/random-string-generator/)

We recommeded you to use Alpha Numeric string with length 100

<div align="left"><img src="https://3702437941-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO0vPORVVkH4kF5-g0e%2F-LO18ErbFy5GWNhMvIIA%2F-LO18P6RpgudjCUEKDqR%2Fassets%252F-LLOMgkZNpfYERFyVk1z%252F-LLRVD8v5s6lAxBFwap1%252F-LLRVVedX0aR-CUXzN4p%252Fimage_7.png?alt=media&#x26;token=66c21886-f566-427c-9c64-a1b00ee2861d" alt=""></div>

### &#x20;**SERVER**

&#x20;You can change SECURITY\_CODE from file **/services/conf.php**

<div align="left"><img src="https://3702437941-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO0vPORVVkH4kF5-g0e%2F-LO18ErbFy5GWNhMvIIA%2F-LO18rfj4ETZkzl6Pj2i%2FCapture.JPG?alt=media&#x26;token=bbf3c0ee-d545-44b6-a314-e036df826b81" alt=""></div>

### &#x20;**ADNROID**

&#x20;Then for android you can set SECURITY\_CODE at file **/data/Constant.java**

<div align="left"><img src="https://3702437941-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO0vPORVVkH4kF5-g0e%2F-LO18ErbFy5GWNhMvIIA%2F-LO1926uCJZ-RPomJOYw%2Fassets%252F-LLOMgkZNpfYERFyVk1z%252F-LLRVD8v5s6lAxBFwap1%252F-LLRWj1ImsSiRQZDySnc%252Fimage_5.png?alt=media&#x26;token=bf790d43-8a13-4cfc-8a61-27191802d6fe" alt=""></div>

&#x20;**\[ IMPORTANT ]&#x20;**_**Again, you must make sure both of SECURITY\_CODE is same**_
