There's two layers to this
First, you need to change all the permissions on the projects you don't want them to see, so that they can't see them. (A common default is to use "JIRA users" as both the "can log in" and the default "users" role membership. Meaning all issues can be seen by all users by default. That's something you'd need to unpick)
Second, in the projects they can now see, implement issue security to lock down the issues you don't want them to see.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.