How could you disallow it?
In order to immigrate legally, there are rules. One of the rules is that for certain types of immigration and/or green cards the immigrant has to be sponsored by an employer.
The way to disallow it is to have a rule that says that the immigrant cannot replace an American worker. And that the employer has to prove that there are no American citizens to take the job. Most countries have rules like this.