[SOLVED] Best way to secure cloud API?

Hi @cryptokid ,

How to secure moralis cloud function post api?

and one more question how to apply ACL for custom class?

Every cloud function request will include the current logged in user data and the headers with request origin. Maybe you can use these to verify who is doing the request.

You can go through the docs on how to add ACL in db.

And moralis servers will be deprecated in the near future so take a look the docs on how to self host moralis server

Thank you @johnversus