Wiki

Articles tagged with "security"X
Displaying 1-10 of 25 result(s).

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

Created 6 months ago by raminiousHow-tos11 comments – viewed 34,460 times – ( +12 ) – 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)

Enhance security of cookie-based login

Created 8 months ago by darkheirHow-tos0 comments – viewed 4,121 times – ( +1 ) – version 1.1
Enhance security of cookie-based login

Make the authentication more securely

Created 10 months ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 3,308 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

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

Created 11 months ago by Kartik VTips2 comments – viewed 6,263 times – ( +42 ) – 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 16,775 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.

default csrf security and ajax post in one controller

Created about a year ago by jasonbanTutorials3 comments – viewed 6,641 times – ( +1 / -2 ) – version 1.1
Hello Yii friends

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

Created about a year ago by le_topHow-tos0 comments – viewed 15,707 times – ( +5 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 68,363 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.

Using phpseclib with Yii

Created 2 years ago by nkdHow-tos8 comments – viewed 7,232 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

ACL and RBAC

Created 2 years ago by zeroByteHow-tos0 comments – viewed 14,393 times – version 1.1
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obscure the fact that the underlying system is still ACL-based. In fact, the Business-Rules are just another layer in the permission-check plan.