Enhancing Railway Security Through Innovative Technologies