Is there any open source licence that would allow one individual to copy, modify, share the source code of the project while preventing to share a modified copy of the project? I'm asking that thinking about security softwares that are closed-source because of the need of 'making money' in the business model. This trick could allow one company to have an open source software including some kind of token verification or anything else that requires a payment for the use of the software. While this can sound fuzzy because one individual could easily take the source code and modify it so as to use the software free of charge, the majority of people who don't have the skills to do so would pay for it. While I understand this can go against the free in the sense of liberty and free of charge I do really think it could be useful. 
Licence to prevent sharing a modified copy of a software?
license recommendation;security
No.Any open source license allows anyone to share modified source code.From the annotated open source definition clause 3:3. Derived WorksThe license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.Rationale: The mere ability to read source isn't enough to support independent peer review and rapid evolutionary selection. For rapid evolution to happen, people need to be able to experiment with and redistribute modifications.