Articles on Trending Technologies

Technical articles with clear explanations and examples

How to find the Index of a string in Golang?

Syed Abeed
Syed Abeed
Updated on 10-Mar-2022 12K+ Views

Strings.Index is a built-in function in Golang that returns the index of the first instance of a substring in a given string. If the substring is not available in the given string, then it returns -1.SyntaxThe syntax of Index() is as follows −func Index(s, substring string) intWhere, s – Original given stringsubstring – It is the string whose Index value we need to findExample 1Let us consider the following example −package main import (    "fmt"    "strings" ) // Main function func main() {        // Initializing the Strings    x := "Learn Golang on Tutorialspoint" ...

Read More

What is RBAC in information security?

Ginni
Ginni
Updated on 10-Mar-2022 642 Views

RBAC stands for Role-based access control. It also known as role-based security. It is an access control method that creates permissions to end-users depends on their role within the organization. RBAC supports fine-grained control, providing a simple, controllable method to access administration that is less error-prone than individually assigning permissions.This can decrease cybersecurity risk, protect sensitive information, and provides that employees can only access information and perform actions they required to do their jobs. This is referred to as principle of least privilege.Roles are based on multiple elements in RBAC, such as authorization, responsibility, and job specialization. Organizations generally designate ...

Read More

What are the types of memory card in information security?

Ginni
Ginni
Updated on 10-Mar-2022 385 Views

There are several types of memory card which are as follows −SD Card − It is the most common types of memory cards, and it stands for Secure Digital card that is designed to support high-capacity memory in a small size. Mainly, it is used in several small portable devices including handheld computers, digital video camcorders, digital cameras, mobile phones, etc.Approximately, more than 8000 multiple models and over 400 brands of electronic equipment use SD technology. It measures 32 x 24 x 2.1 mm and weighs approximately 2 grams and is treated a standard for the industry because of widespread ...

Read More

What is the difference between memory card and smart card in information security?

Ginni
Ginni
Updated on 10-Mar-2022 3K+ Views

Memory CardA memory card is a type of storage device that can store videos, photos, or other data files. It provide a volatile and non-volatile medium to save data from the inserted device. It is also defined as a flash memory. Generally, it is used in devices like phones, digital cameras, laptops, digital camcorders, game consoles, MP3 players, printers, etc.A memory card is generally used as a primary and portable flash memory in mobile phones, cameras and other portable and handheld devices. PC Cards (PCMCIA) were a predecessor of modern memory cards that were introduced for commercial goals. Besides supporting ...

Read More

What is Host Intrusion Prevention System in information security?

Ginni
Ginni
Updated on 10-Mar-2022 973 Views

A host-based intrusion prevention system (HIPS) is a system or a program employed to secure critical computer systems including crucial data against viruses and some Internet malware. It is beginning from the network layer all the way up to the application layer, HIPS assure from known and unknown malicious attacks.HIPS regularly verify the features of a single host and the various events that occur within the host for suspicious activities. HIPS can be implemented on several types of machines, such as servers, workstations, and computers.A host-based IPS is one where the intrusion-prevention software is resident on that specific IP address, ...

Read More

What is the process of Risk Transfer in information security?

Ginni
Ginni
Updated on 10-Mar-2022 1K+ Views

Risk transfer define a risk management technique in which risk is transferred to a third party. In another terms, risk transfer involves one party considering the liabilities of another party. Purchasing insurance is an instance of transferring risk from an individual or entity to an insurance company.Risk transfer is a common risk management approach where the potential loss from an adverse result faced by an individual or entity is shifted to a third party. It can compensate the third party for bearing the risk, the individual or entity will usually provide the third party with periodic payments.An example of risk ...

Read More

Replace() vs ReplaceAll() in Golang

Syed Abeed
Syed Abeed
Updated on 10-Mar-2022 20K+ Views

ReplaceAll() function in Golang replaces all the occurrences of a given substring with a new value. In contrast, Replace() function is used to replace only some characters in a string with a new value. It replaces only a specified "n" occurrences of the substring.SyntaxThe syntax of ReplaceAll() is as follows −func ReplaceAll(s, old, new string) stringWhere, s is the given stringold is the string which we want to replace, andnew is string which will replace the old string.Example 1Let us consider the following example −package main import (    "fmt"    "strings" ) func main() {    // Initializing ...

Read More

What are the risk control measure for an organization?

Ginni
Ginni
Updated on 10-Mar-2022 291 Views

Risk control is the set of approaches by which firms compute potential losses and take action to reduce or remove such threats. It is a technique that uses findings from risk assessments, which includes identifying potential risk element in a company's operations, including technical and non-technical element of the business, financial policies and other issues that can affect the well-being of the firm.Risk control also implements proactive changes to decrease risk in these areas. Risk control provide companies limit lost assets and income. Risk control is an essential component of a company's enterprise risk management (ERM) protocol.Risk control measures are ...

Read More

What are the types of data integrity?

Ginni
Ginni
Updated on 10-Mar-2022 6K+ Views

Database integrity defines the validity and consistency of stored information. Integrity is generally defined in terms of constraints, which are consistency rules that the database is not allowed to violate. Constraints can apply to each attribute or they can apply to relationships between tables.Integrity constraints provides that changes (update deletion, insertion) made to the database by authorized users do not result in a loss of data consistency. Therefore, integrity constraints guard against accidental damage to the database.There are various types of data integrity which are as follows −Logical Integrity − In a relational database, logical consistency provides the data remains ...

Read More

How to check if a string starts with a specified Prefix string in Golang?

Syed Abeed
Syed Abeed
Updated on 10-Mar-2022 5K+ Views

The HasPrefix() function of string class in Golang is used to check whether a given string begins with a specified Prefix string or not. It returns True if the given string begins with the specified prefix string; otherwise it returns False.Syntaxfunc HasPrefix(s, prefix string) boolWhere x is the given string. It returns a Boolean value.ExampleIn this example, we are going to use HasPrefix() along with an if condition to check wheter the two defined variables are starting with the same Prefix string or not.package main import (    "fmt"    "strings" ) func main() {        // Initializing ...

Read More
Showing 45281–45290 of 61,297 articles
Advertisements