Is it possible restrict SFTP for other user in linux

Sure … one way might be to make it executable only by members of a specific group, then add users you want to be able to execute it to that group.

Though that’s not necessarily the only or best method … all depends how they’re accessing it and what your goals are.