Litigation is a public process. So your involvement in court action may result in the publication of personal and business affairs. This is a risk you will have to live with. If it worries you, consider an alternative method of dispute resolution, such as mediation.
You may seek to prevent your opponent from inspecting a document containing material which is potentially harmful to your business, if in the circumstances of the case it would be disproportionate to require you to divulge it. However, your opponent can apply to court to allow inspection of the document, giving reasons for the request.