Question

In: Computer Science

Q1. In order to limit the creation of malicious code, do you think that access to...

Q1. In order to limit the creation of malicious code, do you think that access to elements of the document object model and some Javascript functionality be limited? In discussing your answer, describe two types of computer attacks/ viruses that may be initiated by scripting code in the browser environment. What else can we do to combat this?

Q2. The ideal of the Web is based on open interchange of ideas, information and code. However, sometimes a lot of work is needed in developing functionality for Web pages in the form of scripting code. Sometimes there is a desire to protect that intellectual property. Discuss how you might go about hiding this information from “Code Surfers”… if indeed you can.

Solutions

Expert Solution

1. Yes, access to elements of the document object model and some javascript functionality must be limited because if we give unlimited access to everyone, then hackers get advantage of it and will inject malicious code into your program. The two types of viruses that may be initiated by scripting code in the browser are as below.

  • Cross-site scripting.
  • Phishing.

Cross-site scripting: Cross site scripting is a client side injection side. The main goal of the attacker is to execute malicious code in web application of the victim. This actually happens when the victim visits the webpage. In order to combat this the code should sanitize data input by users before giving it back. All the validitions should take place to combat this type of attack.

Phishing: This type of attack draws the user attention that it is coming from most trusted sources in the form of mails. There will be link to the webpage, once user clicks on it, then the malicious code will be injected into the script of the victim and can damage the files or the injector can get the information that is needed.Do not accept the mails that doesn't belong to your work or block the mails or don't open such kind of mails.

2. Every company has its own intellectual property that should be owned by company not anyone else. The intellectual property must be copyrighted or patented or must be registered for trademark. So that code surfers cannot copy, eventhough if they copy we can take a legal action on him. There will be trade secrets that can gain advantage over competitors must be kept as secret and should not reveal to anyone in any case.


Related Solutions

How do you think two crucial research events—the creation of the Nuremberg Code and the U.S....
How do you think two crucial research events—the creation of the Nuremberg Code and the U.S. Public Health Service Syphilis study at Tuskegee—influenced the role of Institutional Review Boards (IRBs) in the study design process? how you think the Belmont Report: Ethical Principles and Guidelines for the Protection of Human Subjects of Research also influences IRBs. Your textbook may be used as a reference.  Jacobsen, K. H. (2017). Introduction to health research methods (2nd ed.). Burlington, MA: Jones &...
Do you think that there is a limit to the number of migrants a society can...
Do you think that there is a limit to the number of migrants a society can absorb that is less than the state's and economy's capacities to care for the newcomers? Which factors do you think accounts for this?
Q1. A. Do you think performance appraisals should be done? Do you think forced ranking is...
Q1. A. Do you think performance appraisals should be done? Do you think forced ranking is a good performance management system? Why or why not? Q2. ​How important is it that the effectiveness of a training program be measured in dollar terms? Why is it important to measure training effectiveness in the first place?
What do you think of Abraham Joshua Heschel’s idea that at the end of creation the...
What do you think of Abraham Joshua Heschel’s idea that at the end of creation the goal of all life is rest?
What do you think...should there be a limit or cap on the maximum amount that a...
What do you think...should there be a limit or cap on the maximum amount that a jury awards a victim of medical malpractice? If Yes...why? If No...why not?
why do you think normalization is a necessary step in the creation of your database? list...
why do you think normalization is a necessary step in the creation of your database? list multiple reasons
Q1: explain the following : a) Do you think that the pure market economy in these...
Q1: explain the following : a) Do you think that the pure market economy in these circumstance of COVID-19 play an rffective role in economy? mention four evidences from your point of view.idenovo b) The production possibilities frontier curves show the concepts of scarcity, choice, opportunity cost, efficiency and economic growth. Discuss with examples. please help me with this Q with clear explain (all part).
Q1. To what extent do you think is it necessary for the leader of a multicultural...
Q1. To what extent do you think is it necessary for the leader of a multicultural team to be familiar and accustomed with the culture of each member of the team ? Q2. To what extent do you consider that Transcultural competence is crucial when managing and leading a multicultural and diversified team. Are we born with or we can acquire this competence. Discuss. Q1. To what extent do you think is it necessary for the leader of a multicultural...
Do you think it is better for low wealth consumers to have access to credit at...
Do you think it is better for low wealth consumers to have access to credit at a high cost or no credit at all? Is the banking system equitable?
Do you think it is necessary for banks to be huge in size in order to...
Do you think it is necessary for banks to be huge in size in order to compete in global markets? Why or why not?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT