The phrase "necessary means" refers to the actions or resources that are needed or essential to achieve a goal or desired outcome. It implies using whatever is required to accomplish something effectively. Full definition
The modern communications media can be a very valuable and necessary means of fostering human rights and human values, freedom and democracy everywhere. (religion-online.org)
Today's phone interviews don't necessary mean just voice. (careerdigital.com)
A natural progression of this idea is that «rich» doesn't necessary mean having lots of money. (inc.com)