Here Read is publicly allowed, but write/delete can be done by IAM user only { “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “ServeSiteMedias”, “Effect”: “Allow”, “Principal”: “*”, “Action”: [ “s3:GetObject”, “s3:GetObjectAttributes”, “s3:GetObjectVersion” ], “Resource”: “arn:aws:s3:::bucketname/*” }, { “Sid”: “PutReadDeleteSiteMedias”, “Effect”: “Allow”, “Principal”: { “AWS”: “arn:aws:iam::1234567890:user/username” }, “Action”: [ “s3:DeleteObject”, “s3:GetObject”, “s3:PutObject” ], “Resource”: “arn:aws:s3:::bucketname/*” } ]… Continue reading S3 Bucket Configuration
WordPress site not working on PHP 7.4 or above
If you are searching this then likely the PHP (and MySQL version) of your hosting got updated but your WordPress is still running a very old version say like 4.x or you need to get your very old codes running. The good part is the site can be made up very easily and in a… Continue reading WordPress site not working on PHP 7.4 or above
Problems with ESP32 configured as both Client and AP
In one project I had an ESP32 configured both as Access Point (AP) and as a Wifi Client. Everything was fine, until I changed my home Wifi password. After changing the home Wifi password I wanted to change the Wifi password set on the device through the Web UI I made and hosted on the… Continue reading Problems with ESP32 configured as both Client and AP
FAST Led color references
FASTLed Library and RGB LED
Recently I was trying to make a device that will indicate different status through different light colors. Now after developing everything a strange thing started to happen – the RGB LED was not showing the colors properly. For example – suppose the current color is Green and then I put Red. It is not glowing… Continue reading FASTLed Library and RGB LED