A temperature sensor including a sapphire optical fiber and a nanoporous cladding layer covering at least a portion of the sapphire optical fiber.