Amazon Cloudfront with S3. Access Denied

If you’re accessing the root of your CloudFront distribution, you need to set a default root object: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html To specify a default root object using the CloudFront console: Sign in to the AWS Management Console and open the Amazon CloudFront console at https://console.aws.amazon.com/cloudfront/. In the list of distributions in the top pane, select the distribution … Read more

Why is “chmod -R 777 /” destructive?

First of all a minor terminology nitpick: chmod doesn’t remove permissions. It CHANGES them. Now the meat of the issue — The mode 777 means “Anyone can read, write or execute this file” – You have given permission for anyone to do (effectively) whatever the heck they want. Now, why is this bad? You’ve just … Read more

What permissions should my website files/folders have on a Linux webserver?

When deciding what permissions to use, you need to know exactly who your users are and what they need. A webserver interacts with two types of user. Authenticated users have a user account on the server and can be provided with specific privileges. This usually includes system administrators, developers, and service accounts. They usually make … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)