Result set download and REST API restriction

To achieve data security policy, I want to option to restrict result set download and REST API usage.
Is there some implementation or solution?