Home > Store

Internet Site Security

Register your product to gain access to bonus material or receive a coupon.

Internet Site Security


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2002
  • Dimensions: 7-3/8x9-1/8
  • Pages: 432
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32306-0
  • ISBN-13: 978-0-672-32306-5

In this book you'll learn all the fundamental techniques and technologies needed to develop a secure connection to the Internet. Before selecting a firewall, VPN, or intrusion detection system, you must define exactly what your information assets are, who needs to get to them, and what the external and internal threats to those assets are. Internet Site Security walks you through the process of assessing your Internet environment and developing the procedural and technical policies required to protect your critical information and network resources.

After helping you develop an information security program, this book details the technologies required to implement network and server security measures. You will learn about the real-world details (and "gotchas") of firewalls, virtual private networks, authentication, and intrusion detection. You'll then put the pieces together using several architectures suitable for the enterprise and for small business networks. Finally, the book examines the common mistakes that custom Internet application developers often make and provides solutions that all software developers should know to ensure that their code can weather the harsh environment of the Internet.

In Internet Site Security you will

  • Learn how to develop a complete strategy for deploying a secure Internet site
  • Examine typical Internet site architectures and security considerations using real-world examples
  • Learn strategies for justifying a security budget to management
  • Understand how to secure Windows NT®/2K and Unix® operating systems
  • Develop secure Internet applications
  • Create secure Internet site architectures that integrate firewalls, intrusion detection,
  • networking components, and policy
  • Build an Incident Response Plan and learn how to conduct forensic investigations


Sample Content

Online Sample Chapter

Internet Infrastructure Components: A 10,000-Foot View

Table of Contents


1. Core Concepts: Risks, Threats, and Vulnerabilities.

First Steps.

Defining Your Assets.

Proprietary Information and Intellectual Property.

Company Reputation or Image.

Business Processes.

Threats Agents.

Insider Threats.

Outsider Threats.

Determining Risk.


2. Developing a Trusted Internet Infrastructure.

The Motivation for Security.

What Constitutes Security?

The Security Process.

Assessment and Policy.

IA Programs.

Organizational Assessment.

Policy Development.

Operational Policies and Procedures Development.

Technical Assessments.

Asset Protection.

Implementing the Security Policy.

Protective Devices.

Monitoring and Detection.

Log File Review.

Intrusion-Detection Systems.

Data Fusion.

Response and Recovery.


3. Infrastructure Components: A 10,000-Foot View.

Understanding and Connecting to the Internet.

Internet Service Providers.

What Does an ISP Provide?

Security Implications of Choosing an ISP.

Transporting Information.




Overview of TCP/IP.

The Domain Name Service.

Management of the Internet.


Domain Name Registries.

whois Databases.

What Makes the Internet (In)Secure?

Inherent Insecurity of the Technology.

Implicit Trust.

Lack of Authentication.


Lack of Privacy.

Lack of Centralized Security Management and Logging.

Day-to-Day Security Is Hard!

Why Is the Internet Attractive to Businesses?

Application Services.

Media and Data Delivery.

Information Services.

Financial Services.



4. Network and Application Protocols: TCP/IP.

Introduction: The Importance of Knowing the Details.

A Brief History of Networking and Protocols.



The Commercialization of the Internet.

The OSI Model and Relevance to TCP/IP.

Data-Link Layers: Moving Data Across a Single Link.

Network Layers: Moving Data Across a Series of Links with IP.

Routing Protocols.


The Domain Name System (DNS).

Revisiting the Data Link Layer: Ethernet and IP.

Configuring a Host to Work on an IP Network.

Transport Layers: Moving Data Reliably with TCP (and Not So Reliably with UDP).

Multiplexing with UDP.

Adding Reliability with TCP.

Controlling TCP Connections.

Common Well-Known Ports.

Common Application-Layer Protocols.

Common Internet Applications.

UNIX Remote Procedure Calls.


Microsoft Networking Protocols and TCP/IP.

A Brief History of IBM and Microsoft Networks.

NetBIOS Names.

NetBIOS over TCP (NBT).

SMB and File Sharing.

The Network Neighborhood and the Browser Protocol.

Microsoft Remote Procedure Calls.

General Configuration Tips for Home Networks.

Summary of Microsoft Networking Protocols.

A Brief Overview of Other Networking Protocols.


5. In-Depth with Protocols and Building Blocks.

Secure Protocols.

Implementing Secure Protocols.

Network-Layer Implementations.

Virtual Private Network Protocols and Encapsulation.


Point-to-Point Tunneling Protocol (PPTP).

Layer 2 Forwarding.

Layer 2 Tunneling Protocol (L2TP).

Secure Socket Layer (SSL).

Wired Equivalent Privacy (WEP).

Secure Shell (SSH).

SSH Authentication.

SSH Server Authentication.

Tunneling with SSH.

Authentication Systems.


Challenge/Response Mechanisms.

Biometric Mechanisms.

Digital Certificates.


6. Example Network Architectures and Case Studies.

Bringing It All Together.

The Enterprise Network.

A Typical Enterprise Network.

External Threats.

Securing External Links.

Internal Links and Threats.

Small Office/Home Office (SOHO).

Web Sites.

Outsourced Web Hosting.

Content Delivery Sites.

E-Commerce Sites.


7. Operating System and Server Software Issues.

Windows NT and 2000 Security Concepts.

Authentication, Access Tokens, and Security Identifiers.

Object Access Control Lists.

Remote Procedure Calls (RPC) and the Component Object Model (COM).

Security Mechanisms for RPC/COM.

Hardening Windows.

Tightening Windows User Rights.

Auditing Security Events.

Linux Security Concepts.

Overview of the Linux Kernel.

Overview of Linux User Space.

Linux File System Permissions.

Linux Authentication Mechanisms.

How PAM Works.

The Structure of /etc/pam.conf.

PAM Examples.

UNIX Network Services and How to Secure Them.

Remote Access/File Transfers.

Graphical User Interfaces.



Application Software Security.

Starting with a Secure OS.

Web Server Security.

Mail Server Security.

Name Server Security.

FTP Security.


8. Attack Scenarios.

Denial-of-Service Attacks.

One Shot, One Kill DoS Attacks.

System Resource-Exhaustion DoS Attacks.

Network Abuse.

Amplification Attacks.

Fragmentation Attacks.

Distributed Denial-of-Service Attacks.

System-Penetration Techniques.


Gathering Network Information.

Network Probes and Detection-Evasion Techniques.

Network Sweeps.

Network Routing Information.

Gathering Information About Individual Systems.

Vulnerability Determination and Choosing Targets.

Compromising a System.


Password Guessing.

Using Targeted Viruses and Trojans.

Extending the Reach.

Sniffing the Wire.

Exploiting Trust Relationships.


9. Protecting Your Infrastructure.

What Is a Firewall Supposed to Do?

Firewall Functions.

Firewall Ancillary Functions.

The Basic Firewall Types.

Packet-Filtering Firewall.

Stateful-Inspection Firewall.

Application Proxy Firewalls.


Air Gap.

Secondary Firewall Features.

Address Translation.


Utilization with VLANs.

VPN Capabilities.

Management Capabilities.


High Availability.

Firewall Platforms.

Third-Party Integration.

DoS Prevention Features.


Implementation Issues and Tips.

Firewall Architecture.

Intrusion Detection.

Translation Issues.

Complex Rule Sets.

Logging, Monitoring, and Auditing.

Firewall Vulnerabilities.

Covert Channels.

Firewall Bugs.


10. Watching the Wire: Intrusion-Detection Systems.

What Is IDS?

How Internet Sites Utilize IDS.

The Different Types of IDS.

IDS Capabilities.

TCP/IP Tests.

NetBIOS over TCP/IP (NBT).

Other Networking Protocols.

Ethernet and Other Data-LinkLayer Headers.

Application-Layer Protocols.

Application Data.

File Integrity.

Log Processing.

Counter-IDS Techniques.

Volume, Volume, Volume.

IP Fragmentation and TCP Segmenting.

Evasion via Application-Layer Encoding.

Other IDS Avoidance Techniques.

DoSÕing an IDS.

Practical IDS Implementation Issues.

Switched Networks.


Tuning Your IDS Sensors.

IDS Management.

Security Responsibility.


Privacy Issues.

Incident Response and Recovery.

Severity of IDS Events.

Automated Response.

Tier 1 Response.

Responding to Real Incidents.

Hacking Back: Just Say No!

Do It Yourself or Outsource?


11. Incident Response and Forensics.

What Constitutes Incident Response?

Preparing for an Incident.

Maintaining Log Files.

Maintaining User Accounts.


Creating Banners.

Creating Checksums.

Real-Time Incident Response.

Response Policy.

Response Procedures.

Organizational Roles and Responsibilities.



What Constitutes an Electronic Crime?

Admissibility of Digital Evidence.

Chain of Custody and Documentation.

Importance of Licensed Software.

Investigator Credentials.

Liability and Right to Privacy Issues.

Investigation Techniques.

Securing the Crime Scene.

Shutting Down Equipment.

Copying Hard Drives and Floppies.

Searching Hard Drives.

Conducting a System Audit.

Tracking the Intruder.

Case Studies.

Web Site Hack.

The Unstable IT Employee.

Employee Misuse of Company Resources.

A Few Words on Anonymous Postings.

Working with Law Enforcement.



12. Developing Secure Internet Applications.

Common Sources of Programming Mistakes.


Danger of Metacharacters.

Working Safely with Metacharacters.

Exploiting Executable Code.

Buffer Overruns.

An Example: String Functions in C.

How Buffer Overflows Are Utilized by Hackers.

Format String Bugs.

A Final Word on Executable Code Exploits.

Application-Level Security.


Source IP Addresses.

Effective Session Management.

Replay Attacks and Session Security.

Credential Checks Within the Application.

Example: Access Control for a Trouble-Ticketing System.

Coding Standards and Code Reviews.


Index. 0672323060T03282002


Before September 11, we probably would have started out this introduction talking about how nothing has made more of an impact in recent years than the growth of the Internet. In light of the events of that day, though, such a statement seems both ludicrous and disrespectful. What we can do is point out that networks of all kinds have always been media of change and instruments of progress, good or bad.

Networks don't have to be created from routers and cable. Networks can weld together individuals of similar purpose and allow them to pool their efforts to accomplish an end. Such ends, unfortunately, are not always principled. Every day we read and hear about terrorist networks and webs of terror. The newspapers report about organized crime networks and law enforcement's efforts to break them. Unfriendly governments run networks of spies and saboteurs. Such images cast the network as an instrument of malevolence, an infrastructure for evil. But networks are not always used to promote discord. There are networks of giving that collect funds for the needy. There are networks of caring that concern themselves with the welfare of the sick. In the business world, people network to improve their company's growth opportunities, while others network to find a mate.

The Internet, like any network, provides the same opportunities to individuals who would use it for the common good as it does to those who would abuse it. The intent of this book is to provide security professionals with a guide to the real-world implications of security, to allow them to build their networks and systems in ways that least expose them to risk. Many security books take an encyclopedic approach to security, dutifully going through the details of every protocol and operating system configuration parameter. Although this book does cover the technical details of many operating systems, networking components, applications, and protocols, and although the intended reader of this book is an in-the-trenches practitioner, you will not find it filled with the usual collection of dry explanations and theoretical vulnerabilities. Our intent in creating this book was to encapsulate the experiences that we have garnered during years of system development, cryptographic design, secure networking, and security consulting for scores of large and small clients in a book that takes the reader from security policy to security reality. To that end, you will find that we have included many examples of how security principles have been applied in real networks by real companies. You'll also see a few examples of what can happen when sound security principles are not followed.

Most books make the choice of either talking to an audience at the policy and principle level or neglecting these aspects of security and delving immediately into the technical details of such components as firewalls, operating systems, and applications. We believe that it is an injustice to talk about security without talking about the process of security as well. Like it or not, for security to be effective, the steps that an administrator takes to lock down a network have to be an extension of an overarching security policy. Security practitioners who do nothing but implement point solutions such as firewalls and VPNs without thinking about how they fit into an overall program and policy are doing themselves, their employers, and their budgets a disservice. A company that does not protect its critical assets, whether they are information, business processes, or services, will not be in business for long.

To protect an asset, you need to first identify it. To protect it adequately, you need to determine what threatens it. To protect it in an efficient manner, you need to weigh the cost and effort to protect it against its value. All of these factors come together in the development of a security policy and program. In the end, the IT department still gets to deploy its firewalls andintrusion-detection systems, but only through a thoughtful process can these systems be selected and put in place in ways that offer the best protection to the most critical assets. This mode of thinking has led us to include two chapters that deal exclusively with risk and policy. These are not the usual dry calls to develop a security policy by picking the appropriate statements from a book of templates. We believe that a meaningful policy must be developed to protect the specific aspects of the organization and that the security practitioner can and should be a valuable contributor in putting together a policy that works.

After all this talk about policy, we really need to speak to what the bulk of this book is about, and that's down-and-dirty security. In each chapter, we have attempted to cover aspects of security that build upon each other and ultimately lead to the creation of a "secure" infrastructure. We have taken great efforts to make certain that we talk not just about "ivory tower" security, but that we bring that discussion down to the real-world implementation level as well. For example, many technologists talk about how digital certificates are the silver bullet that can provide a ubiquitous basis for authenticating users on the Internet. They forget to tell you that of the 500 million users who are estimated to be citizens of the Net, about 99.99% of them still rely on a username and password to log on to their systems. Knowing about PKI is good, but knowing how to utilize the username/password in an effective and secure manner is practical.

The same holds true in discussions of system vulnerabilities. The classic man-in-the-middle attack, in which a nefarious character intercepts the communications between two network entities and then masquerades as one of the entities, is interesting from a technical standpoint but hardly ever possible from a practical standpoint. This doesn't mean that such an attack can't happen--it just means that, in our experience, it hardly ever does. The security practitioner will utilize his time better by keeping Web servers patched to prevent a 13-year-old hacker from crashing them than by implementing encryption among all the servers to block man-in-the-middle attacks. That's just reality, and that's what we think is one of the main differentiators of this book--and a good reason for you to read it.

In the end, security requires constant learning and adaptation, much like life itself. This book presents a philosophy of security, an explanation of the techniques and processes used to engineer and maintain a secure network, and examples of how others have used these principles to protect themselves without closing the door on productivity and utility. It is our sincere desire that this book will help to raise the general level of security awareness as well as arm security practitioners with the specific knowledge that they require to go about, as Elvis used to say, taking care of business.



Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020