Currently, I don't see any method to stop players from glitching into bases. There is one way which is to build walls right next to each other without gap but it would take a lot of time, effort and resources. If you think someone has glitched into your base and raided your faction, you can report them because the punishment for those players who glitch into the base of another faction is a permanent ban. Hope this helped.