Skip to content

Commit

Permalink
Merge pull request OWASP#104 from Archieru/patch-1
Browse files Browse the repository at this point in the history
Fix typo "punditto"
  • Loading branch information
mackowski authored May 17, 2019
2 parents d1c72d1 + 312d723 commit b4a9194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cheatsheets/Ruby_on_Rails_Cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ There is an [Authentication Cheat Sheet](Authentication_Cheat_Sheet.md).
By default, Ruby on Rails apps use a RESTful uri structure. That means that paths are often intuitive and guessable. To protect against a user trying to access or modify data that belongs to another user, it is important to specifically control actions. Out of the gate on a vanilla Rails application, there is no such built in protection. It is possible to do this by hand at the controller level.
It is also possible, and probably recommended, to consider resource-based access control libraries such as [cancancan](https://github.com/CanCanCommunity/cancancan) (cancan replacement) or [pundit](https://github.com/elabs/pundit)to do this. This ensures that all operations on a database object are authorized by the business logic of the application.
It is also possible, and probably recommended, to consider resource-based access control libraries such as [cancancan](https://github.com/CanCanCommunity/cancancan) (cancan replacement) or [pundit](https://github.com/elabs/pundit) to do this. This ensures that all operations on a database object are authorized by the business logic of the application.
More general information about this class of vulnerability is in the [OWASP Top 10 Page](https://www.owasp.org/index.php/Top_10_2010-A4-Insecure_Direct_Object_References).
Expand Down Expand Up @@ -525,4 +525,4 @@ Aaron Bedra - [email protected]

Egor Homakov - [email protected]

Zaur Molotnikov - [email protected]
Zaur Molotnikov - [email protected]

0 comments on commit b4a9194

Please sign in to comment.