Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
AWS Certified Developer ??? Associate Guide

You're reading from   AWS Certified Developer ??? Associate Guide Your one-stop solution to passing the AWS developer's certification

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787125629
Length 600 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Tankariya Tankariya
Author Profile Icon Tankariya
Tankariya
 Parmar Parmar
Author Profile Icon Parmar
Parmar
Arrow right icon
View More author details
Toc

Table of Contents (29) Chapters Close

Title Page
Credits
About the Author
Acknowledgments
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
1. AWS Certified Developer – Associate Certification FREE CHAPTER 2. Introduction to Cloud Computing and AWS 3. Identity and Access Management 4. Virtual Private Clouds 5. Getting Started with Elastic Compute Cloud 6. Handling Application Traffic with Elastic Load Balancing 7. Monitoring with CloudWatch 8. Simple Storage Service, Glacier, and CloudFront 9. Other AWS Storage Options 10. AWS Relational Database Services 11. AWS DynamoDB - A NoSQL Database Service 12. Amazon Simple Queue Service 13. Simple Notification Service 14. Simple Workflow Service 15. AWS CloudFormation 16. Elastic Beanstalk 17. Overview of AWS Lambda 18. Mock Tests Index

Cross-Origin Resource Sharing (CORS)


Before understanding CORS, let us understand the significance of the same origin policy. The cross-origin policy is a critical aspect of a web application security model. In a web application security model, by default, a web browser does not allow a script file associated with a web page to access data associated on a page in a different hostname, domain, or port number. The purpose of cross-origin policy is to prevent any malicious script embedded on one page to access sensitive data on another web page.

For example, a script hosted in a page books.html on www.packtpub.com, can access the Document Object Model (DOM) of any page within the same domain, that iswww.packtpubs.com. If it tries to access DOM of a page hosted on another domain, the access is denied. Even if a page is hosted on a subdomain such as books.packtpubs.com, when it tries to access DOM of another page on projects.packtpubs.com, it is denied the access. This is a way to maintain the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images