1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
iogann1982 [59]
4 years ago
15

Describe the GRANT statement and explain how it relates to security. What types of privileges may be granted? How are they revok

ed?
Computers and Technology
1 answer:
Misha Larkins [42]4 years ago
7 0

Answer:

GRANT statement basically allows access to the database.

Explanation:

GRANT statement allows the user to get privileges on the database. This allows the users to manipulate data in the database or perform some actions such as SELECT, CREATE, DELETE etc are some privileges granted to the users to select data from a table, to create a relation/table or to delete records from a table etc.

GRANT statement involves the type of privilege that is to be granted such as SELECT, the object to which the access is to be granted such as a table so the table name is mentioned here and third is the name of the user to which the rights or privilege is to be granted.

Privileges can be system or object.

System privileges examples are: DROP, CREATE ,ALTER, etc in which DROP allows to delete a database object, create allows to create a database object and ALTER is used to modify database objects.

Object privileges allows to perform actions on a table and manipulate data in a table. For example INSERT, EXECUTE, SELECT, UPDATE etc.

GRANT statement is beneficial for security purposes as it grants certain access and privileges to specific users according to their requirements and does not give access to every object to all users which helps in securing the data and database objects as giving access to all users can sometimes be a security risk. So GRANT statement by selective access to specific users for specific operations can be beneficial in securing the data in the database e.g from being corrupted in anyway. It defines roles for different users for performing different actions to make sure that users only access the database in ways they are granted or permitted to. GRANT allows each user only the privileges necessary to perform a task.

The access rights given by the GRANT statement can be revoked by using REVOKE command. This statement is used to remove the privileges from the users or database objects. This statement involves the privilege to be revoked e.g SELECT, the object on which the privilege is to be revoked such as table name and the user name from whom the granted privilege is to be revoked.

You might be interested in
What is the difference between Windows 7 and Windows 10?
Tanzania [10]
Windows 10 is new and windows 7 is old
6 0
3 years ago
_____ makes source code available for use, modification, and redistribution as long as licensing terms are met. Free and open-so
Andrei [34K]

Answer:

Free and open-source software makes source code available for use, modification, and redistribution as long as licensing terms are met.

Explanation:

Open-source software is software you can find and use for free.

8 0
2 years ago
Why should you evaluate trends when thinking about a career path?
Vladimir [108]

Because trends can show data in relation to what career is on the rise in terms of wages, statistics show patterns that you can observe to find the career which is becoming popular and most beneficial.  

3 0
4 years ago
. Complete the code, drawing a line between points (100, 200) and (34, 67)
Galina-37 [17]

Answer:

The answer for the given question is given below:

public void paint( Graphics g )

{

g.drawLine(100, 200 ,34, 67);

}

Explanation:

In this code we are using “drawLine” method to draw the line between the points

The graphics object “g” is to call the drawLine method .

The syntax of drawline method is given below

drawLine(int X1, int Y1, int X2, int Y2)

Where  X1,  Y1,  X2,  Y2 are the points in the x and y coordinate

Following are the full code of that program  

import java.applet.Applet; // package of applet

import java.awt.Graphics; // package of awt  

public class line1 extends Applet  //inherit applet class

{

public void paint( Graphics g ) // paint method

{

g.drawLine(100, 200 ,34, 67); // drawline

}

}

It draw the corresponding line between the coordinate

8 0
3 years ago
What is the best data type for traveling day?
kykrilka [37]
Here if its wrong sorry

7 0
3 years ago
Other questions:
  • What is the most important part of the course that you have learned about so far?
    11·2 answers
  • When preparing to communicate a solution to a design problem, you must:?
    5·1 answer
  • __________ is software that comes hidden in free downloadable software that tracks online movements, mines the information store
    14·1 answer
  • Convert the following 8­bit binary numbers in two's complement format to decimal (If the number is negative, include the minus s
    5·1 answer
  • Disk drives have been getting larger. Their capacity is now often given in terabytes (TB) where 1 TBequals1000 gigabytes, or abo
    14·1 answer
  • A web-based application encounters all of the connectivity and compatibility problems that typically arise when different hardwa
    15·1 answer
  • WHAT IS ONE WAY A PIVOTTABLE COULD COMBINE THE FOLLOWING DATA
    10·1 answer
  • PLzzzzzz help me!! I will mark brainiest to the one who answers it right!!
    14·1 answer
  • What is used to print out very large posters or maps?
    10·2 answers
  • You'd like to change the minimum password length policy in the default domain policy group policy preference (gpo). What's the b
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!