We wants to restrict the users from downloading the code from repository and only allow read only mode. any option to download zip, clone or fork features has to be disabled. is this possible with GitHub ?
I’m afraid not. The basic level of access includes the ability to clone and fork.
You can of course add a licence to your repository. This helps anyone with access know how you are allowing your work to be used.