BENGALURU: After failing to check rampant illegal mining in the last two decades, the government has come up with a solution to protect its dwindling mineral resources.