In this paper, the viewing-angle-switching (VAS) films based on polymer dispersed liquid crystals (PDLCs) were fabricated and the optical properties of the VAS films were studied. The VAS films based on PDLC films can exhibit electrically switchable viewing-angle properties, and the films showed a narrow viewing angle under no electric field and presented a wide viewing angle under electric field (24 V). Furthermore, the smart anti-peeping liquid crystal display (LCD) containing the VAS film based on PDLC film also displayed the electrically switchable viewing-angle performance and the corresponding mechanism was discussed. The results demonstrated both the anti-peeping effect and electrically switchable view-angle effect of the as-fabricated VAS film, promising potential applications in intelligent optical films and novel information displays.