Dear Editor, In this letter, a novel memory-based scheduling protocol (MBSP) is investigated for networked control systems (NCSs) under bandwidth constraint and stochastic denial-of-service (DoS) attacks. First, considering the bandwidth constraint and that multiple sensors' channels may be attacked, a novel memory-based scheduling protocol is proposed to alleviate the pressure of signal transmission, which can dynamically allocate network sources according to different intensities of DoS attacks. Second, under the proposed MBSP, a stochastic impulse system model is established with consideration of network-induced delay and packet loss. Then, sufficient conditions for the existence of the desired controller gain and MBSP parameters are given to ensure the mean-square stability of the studied closed-loop system subject to DoS attacks. Finally, a simulation example is provided to verify the effectiveness of the proposed method.