A dusting of diatomaceous earth will deter most insects from walking across it. The invisibly-small fossil diatoms are sharp enough to puncture the chitin of their legs/feet.
Needless to say, you don't want to be
breathing that dust, however.
Xenophon