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

Make the authentication more securely

Updated about a month ago by KonApazTutorials0 comments – viewed 1,453 times – ( +1 ) – 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 month ago by Da:SourcererHow-tos18 comments – viewed 22,250 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 2 months ago by Kartik VTips0 comments – viewed 1,365 times – ( +26 ) – 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.

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

Updated 3 months ago by Arno SHow-tos0 comments – viewed 11,830 times – ( +4 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

default csrf security and ajax post in one controller

Updated 3 months ago by CeBeTutorials2 comments – viewed 2,907 times – ( +1 / -1 ) – version 1.1
Hello Yii friends

Extension Development (beginner)

Updated 3 months ago by CeBeTutorials2 comments – viewed 14,815 times – ( +33 ) – 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.

Configuring controller access rules to default-deny

Updated 6 months ago by nsandenHow-tos3 comments – viewed 54,971 times – ( +11 ) – version 1.1
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.

How to write secure Yii applications

Updated 9 months ago by Fran├žois GannazHow-tos19 comments – viewed 140,399 times – ( +98 ) – 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.

Secure password hash storage and a Yii helper extension

Updated 9 months ago by fsbTutorials5 comments – viewed 26,765 times – ( +15 ) – version 1.1

Use crypt() for password storage

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