Assets documentation question

Hello to all algoranders!.

The developer documentation in the Assets Section states that

There is also optional functionality to place transfer restrictions on an asset that help support securities, compliance, and certification use cases.

I could not find how to enforce those transfer restrictions in a particular ASA further reading the documentation. Is there any available, or some code example or article?

Thanks

So you can freeze an asset by default and then unfreeze it for specific accounts. You can also use clawback functionality if the ASA is configured to support that. See: Assets - Algorand Developer Portal and Assets - Algorand Developer Portal