INformation Technology

1033 words 5 pages
Ch 19
1. What changes does FTP make to an ASCII file when you download it in ASCII mode to a windows machine from a Linux server? What changes are made when you download the file to a Mac?
Unix, Linux, etc uses only a line feed at the end of each line. So transferring to a Window will add a carriage return to each line.

New Mac's are Linux-based, transferring from a Linux to a Mac shouldn't change anything.
2. What happens if you transfer an executable program file in ASCII mode?

The file will be corrupted: Any bytes that match a NEWLINE will be altered, resulting in a program that will not execute properly.

3. When would FTP be a better choice than SFTP?
When downloading public files

4. How would you prevent a local
…show more content…

Only root can use privileged ports, so you must start Apache as root. Starting
Apache as root is not a security risk because Apache releases root privileges as soon as it has started using the port.

5. If you running an Apache on a firewall system, perhaps to display a web front-end for firewall configuration, how would you make sure that it is accessible from inside the local network?
I believe you can set the interface that apache listens on in httpd.conf file. For example:
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (

6. Why is it more efficient to run scripts using mod_php or mod_perl than through CGI?
Running a CGI script requires a system call to fork() and exec() to create a new process. Once the process has finished (which, in the case of CGI scripts, is usually very shortly after it has started), it terminates. A script run from a module does not have this overhead because it runs inside the
Apache server process.

7. What two things does SSL provide and how does this situation differ if the certificate is self signed?
Authentication and integrity

8. Some Web sites generate content by retrieving data from a database and inserting it into a template using PHP or CGI each time the site is accessed.
Why is this often a poor practice?
In many cases, the same data is generated each time a given page is


  • Information Technology
    2060 words | 9 pages
  • Careers in Information Technology
    2305 words | 10 pages
  • Strategic Planning for Information Technology
    3463 words | 14 pages
  • Study Guide: Information Technology
    918 words | 4 pages
  • Controls for Information Technology and Reporting Evaluation
    1621 words | 7 pages
  • Managerial Applications of Information Technology
    2659 words | 11 pages
  • Information Technology Project Management Appendix Answers
    19468 words | 78 pages
  • Information Technology and Innovation at Shinsei Bank
    5913 words | 24 pages
  • Supply Chain Management and Information Technology
    2208 words | 9 pages
  • Two Different Ways of Innovating with Information Technology
    1163 words | 5 pages