Posts

Showing posts from July, 2020

REST API

Image
What is a REST API? REST or RESTful API design (Representational State Transfer) is designed to take advantage of existing protocols. While REST can be used over nearly any protocol, it usually takes advantage of HTTP when used for Web APIs. This means that developers do not need to install libraries or additional software in order to take advantage of a REST API design. REST API Design was defined by Dr. Roy Fielding in his 2000 doctorate dissertation. It is notable for its incredible layer of flexibility. Since data is not tied to methods and resources, REST has the ability to handle multiple types of calls, return different data formats and even change structurally with the correct implementation of hypermedia. This freedom and flexibility inherent in REST API design allow you to build an API that meets your needs while also meeting the needs of very diverse customers. Unlike SOAP , REST is not constraine

OWASP Top 10 vulnerabilities

Image
OWASP stands for the Open Web Application Security Project , an online community that produces articles, methodologies, documentation, tools, and technologies in the field of web application security. OWASP Top 10 is the list of the 10 most common application vulnerabilities. It also shows their risks, impacts, and countermeasures. Updated every three to four years, the latest OWASP vulnerabilities list was released in 2018. Let’s dive into it! The Top 10 OWASP vulnerabilities in 2020 are: Injection . Injection flaws, such as SQL, NoSQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization. Broken Authentication . Application functions related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens,

Types of Cyber Attacks

Image
A cyber-attack is an exploitation of computer systems and networks. It uses malicious code to alter computer code, logic or data and lead to cybercrimes, such as information and identity theft. We are living in a digital era. Now a day, most of the people use computer and internet. Due to the dependency on digital things, the illegal computer activity is growing and changing like any type of crime. Cyber-attacks can be classified into the following categories:

XML v/s JSON

Image
Both JSON and XML can be used to receive data from a web server. JSON is used to store information in an organized, and easy-to-access manner. Its full form is JavaScript Object Notation. It offers a human-readable collection of data which can be accessed logically. XML is a markup language which is designed to store data. It's popularly used or transfer of data. It is case sensitive. XML offers you to define markup elements and generate customized markup language. The basic unit in the XML is known as an element. Extension of XML file is .xml KEY DIFFERENCE JSON object has a type whereas XML data is typeless. JSON does not provide namespace support while XML provides namespaces support. JSON has no display capabilities whereas XML offers the capability to display data. JSON is less secured whereas XML is more secure compared to JSON. JSON supports only UTF-8 encoding whereas XML supports various encoding formats. JSON Code vs XML Code Let's see a sample JSON Code { &

HTML V/s XML

Image
HTML is the markup language which helps you to create and design web content . It has a variety of tag and attributes for defining the layout and structure of the web document. It is designed to display data in a formatted manner. A HTML document has the extension .htm or .html. You can edit HTML code is any basic code editor, even notepad. The edited code can be executed in any browser. Browsers render the tags used and present the content you want to display with or without applied formatting. XML is a markup language which is designed to store data . It's popularly used or transfer of data. It is case sensitive. XML offers you to define markup elements and generate customized markup language. The basic unit in the XML is known as an element. Extension of XML file is .xml KEY DIFFERENCE XML is abbreviation for eXtensible Markup Language whereas HTML stands for Hypertext Markup Language. XML mainly focuses on transfer of data while HTML is focused on presentation o

The Client-Side Of The Web: HTML-CSS-JS

Image
HTML, CSS and JS are the parts of all websites that users directly interact with. These are the Client Side of Web Technology HTML(HyperText Markup Language) is like a skeleton of the website. It creates the structure. Like which division of the website should be placed where. It uses tags to define the structure.Every other language used to develop website is linked inside HTML. CSS(Cascading Style Sheets) is like the beauty parlor of HTML. It uses it's defined properties and it's values to give styling to the selected tags of HTML Eg. SelectedTag{property: value} div{height: 200px} Javascript is like the nature of the website. How you want that website to work could be defined by javascript. For example on taking the mouse over the button I want a drop down list to appear from it or I want to change the background color of website on clicking that button etc. Note that: HTML and CSS are NOT programming languages, they are structure-based markup languages, there is

Quantum Computing

Image
Quantum Computers perform calculations based on the probability of an object's state before it is measured - instead of just 1s or 0s - which means they have the potential to process exponentially more data compared to classical computers.

Differences Between Python vs Matlab

Image
The world is getting to be more logical and measurements situated. That’s the reason logical computing situations are getting more prevalent over the past decade. These situations give more adaptability to researchers and engineers. Like no other programming languages within the world. These languages are offering powerful toolbox together with the best command languages. The foremost surprising thing of these programming languages is this you’ll effectively visualize anything you compute on these languages. Python Python could be a general-purpose programming language. You’ll be able run Python on any stage. It means Python is platform-independent. Python is advertising the foremost clear language structure; it implies you’ll be able code effectively inside this programming language. Apart from that, on the off chance that somebody other than work on your Python code, at that point they can easily studied and add the code. It is the forem