The legal and ethical implications of emerging technologies such as asteroid mining and space habitats.