Difference between #3 and #4 of
Configuring controller access rules to default-deny

Changes

Title unchanged

Configuring controller access rules to default-deny

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

accessRules, security, access control

Content changed

[...]
```php
public function rules() {
return array(
// other rules here
array('
denyallow') // default allow
);
}
```
Even those not implementing this article's technique would do well to add the default-allow rule even though it would be handled by Yii automatically so that others reading the code would **know** this was intended behavior.
[...]
11 0
12 followers
Viewed: 105 266 times
Version: 1.1
Category: How-tos
Written by: Steve Friedl
Last updated by: nsanden
Created on: Apr 4, 2011
Last updated: 10 years ago
Update Article

Revisions

View all history