My understanding is that's a solved problem - NASA's Deep Space Optical Communication has demonstrated laser communication even with the sun in the background. Laser wavelength and modulation are noticeably different than a stars noise if you filter and just look for the wavelength and modulation of the laser, which is notably shorter and faster than most of the noise coming from the star.