Frisking was the act of searching an individual's body for contraband, usually performed by a law enforcement officer.
In 2370, frustrated at requests for increased security aboard Deep Space 9, Benjamin Sisko asked if Federation policy allowed for the frisking of every visitor who stepped through the space station's airlocks, or searching their guest quarters. (DS9: "The Maquis, Part I")