forked from OWASP/CheatSheetSeries
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OWASP#104 from Archieru/patch-1
Fix typo "punditto"
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
|
@@ -525,4 +525,4 @@ Aaron Bedra - [email protected] | |
|
||
Egor Homakov - [email protected] | ||
|
||
Zaur Molotnikov - [email protected] | ||
Zaur Molotnikov - [email protected] |