CORS Essentials
- Length: 144 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-05-30
- ISBN-10: B072PZG93X
- Sales Rank: #1955965 (See Top 100 Books)
Key Features
- A step-by-step guide but at a high level/fast pace. Not all steps are covered as a basic knowledge is assumed
- Provides a basic overview of the concepts but the focus is on providing the practical skills required to develop applications
- Focuses on providing practical examples
Book Description
This book explains how to use CORS, including specific implementations for platforms such as Drupal, WordPress, IIS Server, ASP.NET, JBoss, Windows Azure, and Salesforce, as well as how to use CORS in the Cloud on Amazon AWS, YouTube, Mulesoft, and others. It examines limitations, security risks, and alternatives to CORS. It explores the W3C Specification and major developer documentation sources about CORS. It attempts to predict what kinds of extension to the CORS specification, or completely new techniques, will come in the future to address the limitations of CORS
Web developers will learn how to share code and assets across domains with CORS. They will learn a variety of techniques that are rather similar in their method and syntax. The book is organized by similar types of framework and application, so it can be used as a reference. Developers will learn about special cases, such as when a proxy is necessary. And they will learn about some alternative techniques that achieve similar goals, and when they may be preferable to using CORS
What you will learn
- Why you need CORS: Bending the Same Origin Policy and basic CORS implementation, headers and XMLHttpRequest
- Creating proxies for CORS: Sometimes the header is not enough
- Security: vulnerabilities and how to secure your CORS application
- CORS implementations in Content Management systems
- Learn about CORS in Windows applications
- Take CORS on the Cloud
- Apply CORS in Node.js
- Best practices for CORS
About the Author
Rajesh Gunasundaram is a software architect, technical writer, and blogger. He has over 15 years of experience in the IT industry, with more than 10 years using Microsoft .NET, 2 years of BizTalk Server, and a year of iOS application development.
Rajesh is a founder and editor of technical blogs www.programmerguide.net and www.ioscorner.com, where you can fi nd many of his technical writings on .NET and iOS.
Rajesh is also the founder and developer of a web product, www.VideoLens.net a platform that analyses YouTube videos and channels.
Rajesh has also written a book ASP.NET Web API Security Essentials, for Packt Publishing.
Rajesh holds a masters degree in Computer Application and began his career as a software engineer in 2002. He worked on client premises located in various countries, such as the UK, Belarus, and Norway. He also has experience in developing mobile applications for iPhone and iPad.
His technical strengths include Azure, Xamarin, ASP.NET MVC, Web API, WCF, .NET Framework/.NET Core, C#, Objective-C, Angular, BizTalk, SQL Server, REST, SOA, design patterns, and software architecture.
Randall Goya has been a Senior Web Developer and Application Architect for enterprise organizations for several years, mostly specializing as a Drupal Consultant. Drupal as a framework is integrated with so many other applications and APIs, including payment gateways, media (Brightcove, YouTube, mp3, and video players), messaging (Amazon SQS, Mulesoft), as a content repository for other frameworks (WordPress), and for native mobile applications, and VOIP.
Table of Contents
Chapter 1. Why You Need Cors
Chapter 2. Creating Proxies For Cors
Chapter 3. Security
Chapter 4. Using Cors In Popular Content Management Systems
Chapter 5. Cors In Windows
Chapter 6. Cors In The Cloud
Chapter 7. Cors In Node.Js
Chapter 8. Best Practices