robots.txt files are not mechanisms for authorizing access; they are guidelines designed to instruct user-agents on relevant resources. They essentially say to the user-agent "the content marked as 'disallow' should not be crawled for indexing purposes for unspecified reasons"
Adhering to a robots.txt file is not mandatory, though it does make you a good netizen/curries favour with server admins.