Wiki

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

Single PHP entry point with Nginx

Updated 4 months ago by MadAndHow-tos0 comments – viewed 2,581 times – ( +1 ) – version all
In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

Checking for "expired" sessions/logins on the client side

Updated 5 months ago by le_topHow-tos0 comments – viewed 17,536 times – ( +6 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

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

Updated 7 months ago by yiimHow-tos13 comments – viewed 42,949 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)

Use crypt() for password storage

Updated 9 months ago by fsbTutorials16 comments – viewed 74,330 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.

Getting to Understand Hierarchical RBAC Scheme

Updated 10 months ago by rAWTAZTutorials15 comments – viewed 83,566 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.

Enhance security of cookie-based login

Updated about a year ago by darkheirHow-tos0 comments – viewed 4,903 times – ( +2 ) – version 1.1
Enhance security of cookie-based login

Make the authentication more securely

Updated about a year ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 4,046 times – ( +3 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

Authenticating against phpass hashes with Yii

Updated about a year ago by Da:SourcererHow-tos18 comments – viewed 25,039 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.

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

Updated 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.

default csrf security and ajax post in one controller

Updated about a year ago by CeBeTutorials3 comments – viewed 8,186 times – ( +1 / -3 ) – version 1.1
Hello Yii friends