What is difference between stored procedures and function

Assignment Help Management Information Sys
Reference no: EM131232066

Written Assignment Stored Procedures as a Security Measure

In our readings we have learned the importance of connections and the use of stored procedures and functions. For this assignment we will look at stored procedure and function methods related to securing connections and data in the database.

Note: Don't forget your Oracle 11g documentation resource for the how to examples.

For this assignment you are required to do BOTH Part A and Part B

Part A

Submit short answers thatdiscuss the following questions:

1. What are the advantages of using stored procedures and functions in Oracle?

2. Oracle automatically tracks all object interdependencies for every PL/SQL stored object. What does this include? When does Oracle automatically recompile a stored procedure?

3. What is gained when using stored procedures in a client/server environment? What is the difference between stored procedures and function? When you create a procedure or function, you may define parameters. What types of parameters can be declared?

Lab Password Policy

Your task is to develop a single SQL script that will perform all the following tasks of enforcing password complexity:

1. Connect to SYS user.

2. Create a password complexity function (named as "is481_password") to enforce the following requirements so that the password

? Is at least six (6) characters long

? Differs from the user name

? Has at least one alpha, one numeric, and one punctuation mark character

? Is not simple or obvious, such as welcome, account , oracle, database , or user.

? Differs from the previous password by at least 3 characters

Please note the exact spelling on the function name is REQIRED.

Please note the double quotation mark (") was not a part of the specified function name.

3. Create a profile named is481_prof with the following specifications. Please note the exact spelling on the profile is REQIRED. Test your code before submission.

Number of days the password is valid before it is aged out.

60 days

Number of days ahead of expiration the user is warned about the password expiration.

1 day

Number of days before a password can be reused.

30 days

Number of times a password can be reused.

UNLIMITED

Number of failed login tries allowed before the account is locked.

3

Number of days an account is locked due to failed login tries

13 days

PASSWORD_VERIFY_FUNCTION

is481_password

4. Assign the above profile to user DBSEC that you have already created.

Tips:

1. One SQL(PL/SQL) file is required to complete all the above tasks.

3. Typical syntax on connecting to SYS is: "conn sys/password as sysdba;"

Submission Requirement:

The SQL script file and the screen capture of your creation will be required for full credit.

Reference no: EM131232066

Questions Cloud

What are some of the reasons for our inability : There are many situations in which we cannot determine exactly what will happen, but we can predict what will happen. What are some of the reasons for our inability to determine exactly what will happen?
Calculate the value of vo1 : Figure shows two CMOS inverters in cascade. - Circuit can be thought of as an uncoupled CMOS R/S flip flop.- calculate the value of vO1.
Connection between the observed outcomes and probabilities : In probabilistic models, the probabilities are always considered to be known. However, in one experiment we may observe the outcomes but not the corresponding probabilities. What is the connection between the observed outcomes and assigned probabi..
How has wireless technology changed your quality of life : Write a 700-word summary of your selected article on wireless technology. Be sure to also address the following: How has wireless technology changed your quality of life or your work environment
What is difference between stored procedures and function : What is gained when using stored procedures in a client/server environment? What is the difference between stored procedures and function? When you create a procedure or function, you may define parameters. What types of parameters can be declared..
Determine the state of the outputs for various input signals : Consider the circuit in Figure. - Determine the state of the outputs for various input signals. - What is the purpose of the input signal φ?
Create a pie chart for your business income and spending : Create a business budget sheet using Microsoft Excel. In the budget sheet, do the following: Create a label called "Income" and add your monthly business income in the next cell: $25,000. Create a pie chart for your business income and spending
What hardware support is required to implement this feature : What is the copy-on-write feature, and under what circumstances is its use beneficial? What hardware support is required to implement this feature?
Explain the operation of the circuit : Explain the operation of the circuit. Is this a positive- or negative-edge-triggered flip- flop? -  Redesign the circuit to make this a static flip-flop.

Reviews

Write a Review

Management Information Sys Questions & Answers

  How a specific system used in an organization

Write a 700- to 1,050-word paper identifying and describing how a specific system used in an organization has transformed how the organization operates

  What are key elements of design for manufacturing

Many people think of lean systems as being incompatible with mass customization and flexible manufacturing. Why is this conclusion incorrect? Why or why not? Expand upon your response. Give real world example to explain your response.

  Identify a successful it project reported in the literature

Identify a successful IT project reported in the literature. Analyse the factors that made the project you selected successful. Discuss your rationale for each of your answers.

  Enterprise resource planning systems

"ERP architecture" - "ERP modules" - "ERP" "Enterprise Resource Planning Systems" List five journals that you found related to the key words and choose one of them to summarize.

  Write a paper on the advantages of the inventory models

Write a 300 to 500 word paper on the advantages and disadvantages of the three different inventory models known as EOQ (economic order quantity).

  What are the benefits of networking

What are the benefits of networking within an integrated system and What are the challenges of networking within an integrated syste

  Provide the mean and standard deviation for this data

Construct the histogram for this data. Manipulate the number of bins and class dimensions to produce a histogram that provides a good idea of the distribution of this data. Choose the cutpoint option.

  Use of analytics and cloud technology within this company

Write a four to six (4-6) page design document in which you: Support the need for the use of analytics and cloud technology within this company

  Explain the purpose of the systems development life cycle

Develop a working knowledge of the emerging technologies that support the creation and maintenance of electronic health record (EHR) systems. Prepare for assuming a leadership role in the development of improved healthcare information systems.

  Long-term relationship with one of its customers

key factors to consider when establishing a relationship with a customer and What key factors should a supplier consider when establishing a long-term relationship with one of its customers?

  Evaluate feasibility during the life of project life cycle

ISCG7142 Information Systems & Analysis Assignment. To be able to identify and use tools and techniques for assessing feasibility, To be able to evaluate feasibility during the life of project life cycle and recommend appropriate action to management

  Prepare an er diagram for the database

To apply theoretical concepts of System Design and Implementation in a case study - Prepare an ER diagram for the database. Follow the correct notations for the diagram. All relationships must be labelled with cardinality information.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd