Hexret

Web Security · Authorization

Strong Parameters

Rails request-parameter filtering for model assignment. permit names the attributes an action may write. permit! allows all supplied keys, including future model fields, so removing a few known keys still leaves property-level authority too broad. Permit only the fields this operation owns.

Where you practice it

Related terms