We show that the temporal correlations between two light beams arising from a broadband thermal-like source can be controlled in the femtosecond regime. Specifically, by introducing spectral phase-only masks in the path of one of the beams, we show that the timing and strength of the photon correlations can be programmed on demand. This example demonstrates that the interbeam second-order coherence function propagates as a phase-sensitive ultrafast wave packet in the path towards the detectors, and is thus, susceptible to be modified by acting on just one of the beams. For quite some time, it has been thought that this could only happen with sources showing time-energy entanglement. Our work shows that such a property is due to the existence of a certain type of correlation, but not necessarily the entanglement. Introduction.-The statistical properties of broadband light sources play a key role in understanding the physics behind their emission mechanisms. The theory of optical coherence provides a convenient mathematical framework to account for these stochastic effects by means of a hierarchy of correlation (or coherence) functions [1,2]. The first-order coherence function quantifies the electric field correlations of the source and is used to describe the field superposition effects that appear in the most common interferometers. In the temporal domain, the interference effects of broadband light sources can easily be controlled on demand, thanks to the availability of programmable pulse shapers [3]. Conversely, the measurement of the first-order correlation function yields invaluable information about the interaction of light with matter, and it lies at the heart of some of the most popular bioimaging tools such as optical coherence tomography [4] or spectral endoscopy [5], just to name a few.The second-order correlation function [1,2] provides a unique fingerprint of the fundamental properties of any radiation source. For example, for thermal-like light sources, this quantity explains why it is twice more probable to detect two photons in coincidence when single-photon detectors are located equidistantly from the source than in any other situation. This effect was first observed in the spatial domain by the groundbreaking experiments of Hanbury Brown and Twiss (HBT) [6]. They showed that the coherence area was related to the angular size of the radiation source [7]. Interestingly, a similar effect also appears in the temporal domain [8], i.e., for thermal-like sources, the photons appear correlated for time instants shorter than the inverse of the bandwidth of the source. On the contrary, for