Wall-mount sliding door on a bathroom?
I have a tiny bathroom but the wall next to the door opening will not accommodate a traditional pocket door because of plumbing/electrical. I had an idea that a door which slides outside the wall like a barn door could be a solution and have just discovered a hardware kit that includes a fascia for hiding the hardware with trim:
My question is: Are there ways to ensure security of the door--latch, lock, or something like that? Also, are there small cracks at the edge of the door between the wall trim and the door itself that compromise privacy?