Background: Visible Light Communication (VLC) has emerged as a promising alternative to radio frequency (RF) communication, providing high data rates, enhanced security, and cost-efficient deployment using existing lighting...
moreBackground: Visible Light Communication (VLC) has emerged as a promising alternative to radio frequency (RF) communication, providing high data rates, enhanced security, and cost-efficient deployment using existing lighting infrastructure. However, VLC is vulnerable under low-light and line-of-sight (LOS) blockage scenarios, which expose the system to performance degradation and security threats. In this paper, we propose a RIS-assisted adaptive optimization framework for enhancing physical layer security in low-light VLC environments. By dynamically reconfiguring RIS elements, the system maximizes the secrecy capacity, maintains high signal-to-noise ratio (SNR), and suppresses the information leakage to potential eavesdroppers. To achieve this, we develop an enhanced feedback-controlled adaptive particle swarm optimization (FC-APSO) scheme with a security-driven cost function, balancing SNR, bit error rate (BER), and secrecy capacity. Simulation results demonstrate that our proposed RIS-assisted secure VLC framework outperforms static RIS placement, traditional PSO, and genetic algorithms (GA), achieving up to 35% secrecy capacity improvement and consistently maintaining BER below 10 in the presence of eavesdroppers under dim-light scenarios. This work highlights the potential of RIS-assisted optimization as a foundation for secure VLC-based IoT and indoor wireless systems.