Question

Hi I have a system security question if someone could help me

2. Which general security principle is violated in the following pseudo-code? Modify the pseudo-code to fix the potential security problem. permit - CheckAccess ) IF (permit = Access-Denied) Print Access Denied Print Access Granted Run Function) ELSE

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Three general security principles are -

1. Confidentiality (also known as secrecy), meaning that the computing system’s assets can be read only by authorized parties.

2. Integrity meaning that files can be modified in an authorized manner.

3. Availability means service is provided in a timely manner, denial of which is also known as Denial of Service (DoS).

In given pseudo-code, Integrity is violated because there is no means for measuring authorization on the basis of credentials. The modified pseudo-code can hence be written as-

permit = checkAccess();

IF (permit != Access_Granted)

Print ("Access Denied.");

ELSE

IF (CheckCredentials == TRUE) // Authorization

Run Function ();

ELSE

Print ("Wrong Credentials");

exit ();

Add a comment
Know the answer?
Add Answer to:
Hi I have a system security question if someone could help me 2. Which general security...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hi I need some help writing a security code using python mongodb restful api. I just...

    Hi I need some help writing a security code using python mongodb restful api. I just need help on how to provide a security login to user to enter their username and password or to have a block in using extra access once they have logined and they want more access to the databases they will be force to sign out of the server but I just do not know how to start on it can someone show me how...

  • Hi! I was just wondering if someonw could help me on how to calculate #6. I...

    Hi! I was just wondering if someonw could help me on how to calculate #6. I was given the answer by the teacher, but not how to get it. Can someone show me how to calculate to get that 70ml?

  • i have this question below that I want to answer could someone help me. what are...

    i have this question below that I want to answer could someone help me. what are the specific criteria that should be used to determine autonomy and why?

  • Could someone please help me with this problem? I would really appreciate it. 1.7. Consider the...

    Could someone please help me with this problem? I would really appreciate it. 1.7. Consider the vector field F(x,) = (ve" - 1 + xey a. Show that is a conservative force b. Find the potential function for F c. Find the work performed by the force field F on a particle that moves along the saw-tooth curve represented by the parametric equations: x = 1+ sin(sint) and y = (2/) sin(sin), with OSIS8r.

  • hi i was hoping someone could help me solve this problem, ive been on it for...

    hi i was hoping someone could help me solve this problem, ive been on it for hours and can see to get the answer right Shadee Corp. expects to sell 560 sun visors in May and 360 in June. Each visor sells for $17. Shadee's beginning and ending finished goods inventories for May are 90 and 45 units, respectively. Ending finished goods inventory for June will be 60 units. It expects the following unit sales for the third quarter: Auqust...

  • If someone could explain and help me fix the part that show as ans = 16...

    If someone could explain and help me fix the part that show as ans = 16 I dont get why that shows up and i have check the program already 19 grade = input ('Error! Enter a valid grade: "); end fprintf("The valid grade enteres is: $1f\n', grade) $ Question 3 El function (arovo] - rectareavol (length, width, height) if nargin = 2 fif arguments is equal to A = length*width; then area is length*width arovo = fprintf("The Area is:...

  • Hi, can someone help me obtain the Figure 1 graph using Matlab? I need to see...

    Hi, can someone help me obtain the Figure 1 graph using Matlab? I need to see the code how you do the DTFT in Matlab. Thanks! The impulse response of a discrete-time LTI (linear time-invariant) system is, h[n] = Sinna Refer to Table 5.2 in the textbook for the basic discrete-time Fourier transform pairs The frequency response of the LTl system is, H (ejo, Here, H(e") is periodic with period 2 Step 2 of 31 Sketch the frequency response of...

  • SHARPE RATIO IN EXCEL: Hi there! Could someone please help me create a formula to input...

    SHARPE RATIO IN EXCEL: Hi there! Could someone please help me create a formula to input this formula for the Sharpe ratio into excel? (I have a list of returns) 4. Sharpe Ratio (rfo) We define the Sharpe ratio as the annualized compounded daily return divided by the annualized standard deviation (sd) of daily returns as given by the following formula 252 Sharpe Ratio V252. sd(R)

  • HI, I am having trouble finsihing this program i was wondering if someone could help me....

    HI, I am having trouble finsihing this program i was wondering if someone could help me. Thanks in adavnce. Here is the code that I have so far..... //Stack.h // implementation file for the stack class #include <iostream> using namespace std; const int stack_size = 100; class stack { private: char data [stack_size]; // elements in the stack int top; // index of the top element of the stack public: stack (); // constructor creates an empty stack void push...

  • Hi, can someone help me with this question?plz answer it ASAP. Thank you so much Write...

    Hi, can someone help me with this question?plz answer it ASAP. Thank you so much Write assembly code to set register $t0 to zero if the value stored in register $t1 is a power of 2. I suggest writing the binary representation of the powers of 2 for i=0,1,2,3,4 and staring at them for some time, then thinking decrement... What does the following code do in practice?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT