Qualcomm interview question

How would you protect a resource?