Your internet browsing activity history can be tracked and exploited by ISPs. ISPs can sell the data for their profit. ISP (Internet Service Provider) is a company or organization that provides internet access to users. ISPs usually provide internet services in various forms, such as cable, DSL, wireless, and satellite connections. Most of your Internet activity and data usage can be seen, tracked, and stored by ISPs. They can also see what you buy, the contents of your email, your location,...
captcha
[yii2] How to refresh a captcha with a button or reload a page
21 April 2021
By default, Yii2 captcha does not come with a "refresh" link/button that allows you to refresh captcha images. Likewise, when reloading the captcha image page, that appears remains the same. This can frustrate because often captcha images are unreadable (even by humans). In this tutorial, we will learn to create a link/button to "refresh" captcha images and also refresh captcha images every time they reload the page. 1. Create CaptchaRefreshable The first step we need to do is to create a...
[yii2] Show captcha after failed login attempt
18 April 2021
If you have a login page that can be reached over the internet, at some point that page will be attacked. The reason for this is that it is very easy for an attacker to do so. Brute force attacks are attempts to gain access to an account by guessing the username and password used. Brute force attack is actually an old technique in cybercrime. However, it is still widely used because it is considered still effective. One way to secure a website from brute force attacks is to use a captcha...
[yii2] Create a Login Form with Captcha
17 April 2021
Adding a captcha to the login form is quite easy and can be done in three steps: In models/LoginForm.php you must add captcha fields and validation rules. In views/site/login.php you have to put a captcha field. In controllers/SiteController.php you'll need to add captcha action. In this tutorial, I want to show you how to create a captcha in the login form, but you can add a captcha to any form by following these steps. 1. Add captcha fields and validation rules to models/LoginForm.php First...