Understanding the Structure of an Azure JSON File

json-hero

Get an introduction to the syntax of an Azure JSON (JavaScript Object Notation) file, a template that you can use to quickly deploy a repeatable solution in Microsoft Azure.

The post Understanding the Structure of an Azure JSON File appeared first on Petri.

Continue reading Understanding the Structure of an Azure JSON File

Control Virtual Machines Sizes That Azure Admins Can Deploy

Microsoft-Azure-cloud-hero

In this post, I will show you how you can prevent delegated administrators from deploying unwanted & expensive large virtual machine sizes, which granting them access to deploy smaller machines. Azure Resource Manager Policy One of the dangers, and understandable fears, about cloud services such as Azure is that IT as a utility makes it […]

The post Control Virtual Machines Sizes That Azure Admins Can Deploy appeared first on Petri.

Continue reading Control Virtual Machines Sizes That Azure Admins Can Deploy

How to securely insert JSON objects into javascript, DOM content and html elements attributes?

Is there a way to sanitize or scape strings to secure put data in a object into script or DOM like:

var myObj = JSON.parse({someObject: value})
someElement.innerHTML(‘<div data-id=”‘+myObj.someObject+'”>’ + ‘+myObj.someObject+’)?

Continue reading How to securely insert JSON objects into javascript, DOM content and html elements attributes?