Wiki

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

Single PHP entry point with Nginx

Created 2 months ago by MadAndHow-tos0 comments – viewed 1,991 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.

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

Created 9 months ago by raminiousHow-tos12 comments – viewed 38,927 times – ( +13 ) – 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 11 months ago by darkheirHow-tos0 comments – viewed 4,561 times – ( +2 ) – version 1.1
Enhance security of cookie-based login

Make the authentication more securely

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 3,737 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 about a year ago by Kartik VTips2 comments – viewed 7,363 times – ( +46 ) – 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,222 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 7,608 times – ( +1 / -3 ) – version 1.1
Hello Yii friends

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

Created 2 years ago by le_topHow-tos0 comments – viewed 16,756 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 71,608 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,654 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