Use IAM Policies to configure users to only access specific directories in the Bucket.
AWS CDN CloudFront Operations
The first step is to log in to your Amazon AWS account. The second step is to open the page of CloudFront. The third step is to click the Create Distribution button. Step 4: Follow the settings below.