We experimentally demonstrate a 10 Gb/s free-space optical wiretap channel based on a spatial-diversity scheme and optical code division multiple access.In weak and middle turbulence cases,the bit error rate of a legitimate user can be decreased,and physical layer security can be simultaneously enhanced.