Trade secret and intellectual property lawsuits can be a lengthy and expensive but necessary prospect for any tech company looking to protect its assets. But for tech startups that may not have the budget to sustain litigation if they suspect an ex-employee took company trade secrets, filing those suits likely isn’t an option.

However, there are steps startups can take to protect their trade secrets. Such front-end precautions include adding nondisclosures, monitoring personal devices used for work, and defining ownership rights in work agreements. Taking these pre-emptive actions could help startups avoid a costly courtroom battle.