Beware of using VPN when transacting with Paypal

I just got my account put under review due to alleged suspicious activities on my Paypal account. I’m always using PrivateInternetAccess VPN with a US IP for the purpose of security and most importantly, to have a stable connection! It makes me think of avoiding any VPN or proxy tunnel for everything that involves your most important accounts.

It is depressing to think that you use VPN or proxy tunnel to secure your account, but in effect, your account is in danger of being blocked/terminated. It could be just a problem with PrivateInternetAccess being easily identified as VPN (YouTube knows that you use this VPN by the way, and many others). It happens to me with Linode as well where they block my account when I tunnel my connection using their very own VPS box.

I’m sure the trend will be more common in the future. Not only that you have to secure yourself from malicious attackers, you also have to secure yourself from the company’s false positive reports.

Now, I have decided to cancel my PrivateInternetAccess subscription! However, my Paypal account is still locked and I can’t deactivate the auto-payment to PIA. I have also less confident wity Paypal due to this incident. If ever I’ll get my account activated back, I’ll withdraw all money in it as soon as payments arrive! No more Paypal balances ever!

Posted in Personal Blog | Leave a comment

Docker – AWS S3 PHP Uploads – [curl] 6: Could not resolve host – DNS issues

Last night when I was trying to upload a new profile pic in our app, S3 uploads suddenly stopped working. Other S3 API methods are working fine except for the upload or PUT method. I have done many changes on … Continue reading

Posted in Web Development | Tagged , , , , , , | Leave a comment

Whipping some anonymous function in PHP

My goal is to validate a $_FILES array where uploaded file is an array of files. Due to the weird format of the $_FILES array for array version of the upload file, I have to validate each fields so that … Continue reading

Posted in php, Web Development | Tagged , , , | Leave a comment

Application running on Docker container – Part 2 – Database

This is a continuation of our previous post regarding a simple application running inside a Docker container. This post focuses on the database part of the application stack. Yes, we run the database in a separate container! MariaDB I’m using … Continue reading

Posted in Database, Linux, Web Development | Tagged , , | Leave a comment

Liquibase – Source control for your database

Many PHP, Python and Ruby frameworks already have their database source control feature either built-in or supported as a plugin. In our case, we didn’t use (PHP) CodeIgniter’s built-in database migration tool nor use any migration tool at all until … Continue reading

Posted in Database, MySQL, Web Development | Tagged , , , , | Leave a comment

MySQL – Locking reads using transaction

Here is a quick post before I hit work on a Sunday afternoon. I was trying to create some sort of locking mechanism designed to trigger the same tasks from multiple clients but only one should be executed/run. I tried … Continue reading

Posted in Database, MySQL, Web Development | Tagged , | Leave a comment

Using Symfony Validators outside the Symfony Framework

While we are quite doing fine with our current framework, we are stuck in terms of data validation especially when validation is done deep inside several layers of model classes. I’ve been thinking of either using Zend Validate classes (ZF2) … Continue reading

Posted in Web Development | Tagged , , , , | Leave a comment

Using Assetic to manage CSS and JS

We’ve been using Assetic for some time and we’re quite happy with the results. Assetic can be used to consolidate your CSS and JS files into fewer files with options to minify (compress) them to minimize the file size and … Continue reading

Posted in CSS, JavaScript, Site Optimization, Web Development | Tagged , , , | Leave a comment

Importing Third Party Fonts like Google Fonts – put them on top

We were using a theme for quite some time which uses Google fonts. There are no issues encountered until the number of CSS files increases too much that we need to consolidate them into 1 or 2 CSS files. This … Continue reading

Posted in CSS, Web Development | Tagged , , , | 3 Comments

A sample application running on Docker container – part 1

I’ve been using Docker for several months on my development and production environments. With Docker, I’m able to run multiple PHP applications, Django apps and RabbitMQ messaging containers simulteanously without having to deal with software package conflicts. I’d like to … Continue reading

Posted in Linux, php | Tagged , | 1 Comment