Amazines Free Article Archive
www.amazines.com - Monday, July 15, 2019
Read about the most recent changes and happenings at Amazines.com
Log into your account or register as a new author. Start submitting your articles right now!
Search our database for articles.
Subscribe to receive articles emailed straight to your email account. You may choose multiple categories.
View our newest articles submitted by our authors.
View our most top rated articles rated by our visitors.
* Please note that this is NOT the ARTICLE manager
Add a new EZINE, or manage your EZINE submission.
Add fresh, free web content to your site such as newest articles, web tools, and quotes with a single piece of code!
Home What's New? Submit/Manage Articles Latest Posts Top Rated Article Search
Google
Subscriptions Manage Ezines
CATEGORIES
 Article Archive
 Advertising (133297)
 Advice (160829)
 Affiliate Programs (34734)
 Art and Culture (73673)
 Automotive (145656)
 Blogs (75029)
 Boating (9841)
 Books (17128)
 Buddhism (4124)
 Business (1328337)
 Business News (426310)
 Business Opportunities (366258)
 Camping (10960)
 Career (72763)
 Christianity (15841)
 Collecting (11636)
 Communication (115054)
 Computers (241950)
 Construction (38993)
 Consumer (49679)
 Cooking (17061)
 Copywriting (6567)
 Crafts (18204)
 Cuisine (7538)
 Current Affairs (20383)
 Dating (45774)
 EBooks (19685)
 E-Commerce (48195)
 Education (185189)
 Electronics (83491)
 Email (6390)
 Entertainment (159824)
 Environment (28933)
 Ezine (3039)
 Ezine Publishing (5445)
 Ezine Sites (1554)
 Family & Parenting (110898)
 Fashion & Cosmetics (196384)
 Female Entrepreneurs (11842)
 Feng Shui (130)
 Finance & Investment (310266)
 Fitness (105930)
 Food & Beverages (62851)
 Free Web Resources (7938)
 Gambling (30218)
 Gardening (25085)
 Government (10513)
 Health (629292)
 Hinduism (2206)
 Hobbies (44032)
 Home Business (91544)
 Home Improvement (251324)
 Home Repair (46116)
 Humor (4816)
 Import - Export (5450)
 Insurance (45126)
 Interior Design (29545)
 International Property (3485)
 Internet (190974)
 Internet Marketing (146310)
 Investment (22824)
 Islam (1168)
 Judaism (1357)
 Law (80460)
 Link Popularity (4592)
 Manufacturing (20840)
 Marketing (98750)
 MLM (14136)
 Motivation (18211)
 Music (26999)
 New to the Internet (9476)
 Non-Profit Organizations (4048)
 Online Shopping (129613)
 Organizing (7802)
 Party Ideas (11856)
 Pets (38081)
 Poetry (2234)
 Press Release (12671)
 Public Speaking (5618)
 Publishing (7523)
 Quotes (2407)
 Real Estate (126613)
 Recreation & Leisure (95259)
 Relationships (87450)
 Research (16157)
 Sales (80313)
 Science & Technology (110163)
 Search Engines (23447)
 Self Improvement (153090)
 Seniors (6230)
 Sexuality (35942)
 Small Business (49280)
 Software (82968)
 Spiritual (23461)
 Sports (116075)
 Tax (7658)
 Telecommuting (34064)
 Travel & Tourism (307205)
 UK Property Investment (3118)
 Video Games (13422)
 Web Traffic (11724)
 Website Design (56804)
 Website Promotion (36557)
 World News (1000+)
 Writing (35762)
Author Spotlight
ANISH SAH

My Name is Anish Sah, I am an Internet Marketing and SEO Expert, Social Media Guru and young Entrepr...more
JENNIFER HISIR

The artisans of copperreflections.com have been making handmade copper jewelry and unique gift ideas...more
SHWETA SINGH

This article has been written by a verified author, Shweta Singh. She has been in the business of wr...more
AMIT TIWARI

Amit Tiwari is a Digital marketing expert with over 4 years of experience and a wide variety of know...more
ADRIAN JOELE

I have been involved in nutrition and weight management for over 12 years and I like to share my kn...more


What is CORS in Azure? by Milecia McG






What is CORS in Azure? by
Article Posted: 12/10/2018
Article Views: 757
Articles Written: 24
Word Count: 458
Article Votes: 0
AddThis Social Bookmark Button

What is CORS in Azure?


 
Website Design,Software,Career
I was recently working on a project involving blob storage in Azure. There was something keeping me from uploading my file and it took me forever to figure out what blocked it. It was the freaking CORS settings in Azure. So like a good developer, I went out into the documentation to figure out how to fix it.

After I got my project blob storage working, I realized that even though I had fixed the problem I still didn't know what CORS really was. Now that I kind of know what it is and what it's used for, I'm going to try to briefly explain it to you.

CORS (cross-origin resource sharing) lets you use APIs and data from different origins. An example of this would be using the Google Maps API. You can access that data because they allow your web domain to use it. It also means you'll be able to upload a picture, document, or other data to a blob storage without needing to touch the database first which can be really nice.

Here's a little background about why CORS is even needed. Most web browsers, like Chrome and Firefox, use a security restriction known as same-origin policy. This blocks a web page from calling APIs in a different domain. The reason we don't want to allow calls from different domains is because of the possibility of cross-site scripting attacks. That could take down your website and compromise your database.

That's why it's important to know about CORS. Let's look at an example. Say you are calling an API from https://google.com on your website https://corsexample.com. The browser will send your request with an origin HTTP request header. Based on the CORS settings for https://google.com, you might be allowed through.

If they have their Access-Control-Allow-Origin CORS setting configured to give your domain access, then you're good to go. If they don't have that setting configured to give you access, then you'll get an HTTP error like a 403 server error.

In practice, it's pretty straightforward to use. All you have to do is update a few lines inside of Azure and you're good to go. You can see more about that in their wonderful documentation: [1] [2]

That's what CORS is. It's a defense against scripting attacks that you can make exceptions to. Hopefully this will help you on some of your future projects. At the very least hopefully you could sum up CORS to someone else. Like in an interview…

-----

Don’t forget you can go get my free JavaScript tutorial. It'll help you get up and running pretty fast. So far about 327 people downloaded it in the last week so that's cool. You can go get your copy here

Related Articles - azure, cors, webdevelopment, beginners,







Email this Article to a Friend!

Receive Articles like this one direct to your email box!
Subscribe for free today!

 Rate This Article  
Completely useless, should be removed from directory.
Minimal useful information.
Decent and informative.
Great article, very informative and helpful.
A 'Must Read'.

 

Do you Agree or Disagree? Have a Comment? POST IT!

 Reader Opinions 
Submit your comments and they will be posted here.
Make this comment or to the Author only:
Name:
Email:
*Your email will NOT be posted. This is for administrative purposes only.
Comments: *Your Comments WILL be posted to the AUTHOR ONLY if you select PRIVATE and to this PUBLIC PAGE if you select PUBLIC, so write accordingly.
 
Please enter the code in the image:



 Author Login 
LOGIN
Register for Author Account

 

Advertiser Login

 

ADVERTISE HERE NOW!
   Limited Time $60 Offer!
   90  Days-1.5 Million Views  

 

Great Paranormal Romance

World News


GENE MYERS

Author of four books and two screenplays; frequent magazine contributor. I have four other books "in...more
STEVERT MCKENZIE

Stevert Mckenzie, Travel Enthusiast. ...more
LANCE CHAPMAN

An experienced, resourceful and highly motivated IT professional, with a proven record of success in...more
STEPHEN BYE

Steve Bye is currently a fiction writer, who published his first novel, ‘Looking Forward Through The...more
LAURA JEEVES

At LeadGenerators, we specialise in content-led Online Marketing Strategies for our clients in the t...more
ANITA WAGGONER

Anita Waggoner grew up in a small town in Eastern Washington. She attended business-college in the S...more
SUSAN FRIESEN

Susan Friesen, founder of the award-winning web development and digital marketing firm eVision Media...more
KIRAN KAUR

Kiranpreet (Kiran) Kaur, D.D.S., who received her Doctor of Dental Surgery degree from the prestigio...more
MICHAEL MIFSUD

Michael Mifsud was a House of Commons Commonwealth correspondent at the age of 16. He published Brit...more
TREENA MURPHY

Warm greetings to you!! Hello there, my name is Treena (Smiley) Murphy I am a part time blogge...more

HomeLinksAbout UsContact UsTerms of UsePrivacy PolicyFAQResources
Copyright © 2019, All rights reserved.
Some pages may contain portions of text relating to certain topics obtained from wikipedia.org under the GNU FDL license