Wiki

Articles tagged with "security", sorted by ratingX
Displaying 1-10 of 26 result(s).

How to write secure Yii applications

Created 3 years ago by Fran├žois GannazHow-tos20 comments – viewed 194,544 times – ( +105 ) – version 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

Getting to Understand Hierarchical RBAC Scheme

Created 4 years ago by daemonsTutorials15 comments – viewed 83,562 times – ( +62 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created about a year ago by Kartik VTips2 comments – viewed 8,035 times – ( +47 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Extension Development (beginner)

Created about a year ago by sefburhanTutorials2 comments – viewed 17,463 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Authenticating against phpass hashes with Yii

Created 3 years ago by Da:SourcererHow-tos18 comments – viewed 25,037 times – ( +26 ) – version 1.1
Note: This guide is outdated as of Yii v1.1.14 which introduced the CPasswordHelper class. Please use that instead.

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 74,323 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Simple authorization system

Created 3 years ago by GustavoHow-tos1 comment – viewed 26,925 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

Secure password hash storage and a Yii helper extension

Created 3 years ago by fsbTutorials5 comments – viewed 29,022 times – ( +15 ) – version 1.1
Obsolete

Moving project code outside of webroot (plus multiple project support)

Created 4 years ago by Steve FriedlHow-tos8 comments – viewed 44,174 times – ( +22 / -1 ) – version 1.1
Yii's by-default directory organization works well enough, but there are several steps one can take that improve the security and serviceability of the system, especially in the context of multiple Yii projects on the same machine (including multiple versions of the same project).
tags: config, security

How to hide /frontend/web in url addresses on apache

Created 11 months ago by raminiousHow-tos13 comments – viewed 42,944 times – ( +14 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)