robots.txt and sitemaps answer different questions
robots.txt is a crawler-facing preference; a sitemap is a URL inventory; neither is an authorization layer.
robots.txt is a crawler-facing preference; a sitemap is a URL inventory; neither is an authorization layer.