During a recent scan of my website, a robots.txt file was found and in it contains
Disallow: /subsite1/
Disallow: /subsite2/
In order not to show any paths in robots.txt, as I am afraid that hackers can try to hack the disallowed directories, what can I do to secure robots.txt and at the same time allowing search engines to use it for legitimate purposes?