AWS

How to restrict s3 readable only from certain IP addresses or CloudFlare Only

In many scenarios, it becomes crucial to control and limit access to your S3 bucket to specific IP addresses. Recently, we encountered a situation where we needed to grant access exclusively to CloudFlare IPs. To address this requirement, we implemented a solution by incorporating conditions into our S3 bucket policy. This approach allows for fine-grained …

How to restrict s3 readable only from certain IP addresses or CloudFlare Only Read More »

How to create a new sudo / super admin / wheel user in AlmaLinux CentOS Ubuntu

The “wheel” user has special privileges that allow it to perform administrative tasks on the system. To create a wheel user, follow these steps: That’s it! You’ve successfully created a new wheel user in AlmaLinux 8. To log in to the new account, simply type the username and password you set in step 3 at …

How to create a new sudo / super admin / wheel user in AlmaLinux CentOS Ubuntu Read More »

How to enable htpasswd Apache Basic Authentication via AWS cloudfront

Issue: Apache Basic htpasswd authentication not working via AWS CloudFront.   Overview We had a website that was only allowed to access via basic password authentication as it was in the development stage. We had to enable AWS CloudFront on top of the website to enabled WAF and CDN capability. But, we had to keep …

How to enable htpasswd Apache Basic Authentication via AWS cloudfront Read More »

Scroll to Top