Kenneth G. Wilson (1923). The Columbia Guide to Standard American English. 1993.
necessary (adj.)
combines most frequently with the preposition to, introducing either an infinitive or a prepositional phrase, as in It will be necessary to stop and His help is necessary to our success, and also with in and for, as in A computer is necessary in [for] my work.