We discuss different possibilities to control vortex motion in a thin superconducting film with Tesla range magnetic fields generated by magnetic nanostructures. These nanostructures can be embedded into the superconducting film (arrays of magnetic nanorods) or placed outside the film and separated from it with an insulating layer (arrays of magnetic nanostripes). Interaction of the superconducting film with the magnetic nanostructure results in a strong increase and hysteresis of the critical current, in a strong anisotropy of the critical current (in the case of magnetic nanostripes) and several other phenomena. It is feasible to fabricate systems where the magnetic field from the nanostructures changes sign on the scale of the coherence length. We discuss possible new phenomena in such systems and its implementations.