InfoSec
[General Users] [Youngsters & Students] [Parents and Teachers] [IT Professionals] [SME]
Web Application Security
| 1. | What general security precautions should I take for my web servers running on UNIX or Microsoft Windows systems? |
|
There are a number of precautions you should take. For example, all unused services, command shells and programming language interpreters or compilers should be removed. Web servers should be configured correctly and file permissions should be granted on a need-to-know basis to authorised parties only. System and web logs should also be regularly checked for suspicious activity. In addition, the number of web user accounts that can login to web servers should be properly managed (e.g. ensure that all users select good passwords). User authentication on the web server should be protected by at least SSL/TLS to ensure that passwords cannot be eavesdropped by attackers. Two-factor authentication should also be considered if the system involves sensitive or confidential information. The following can be observed for enhancing the security of web servers:
|
|
| Top | |
| 2. | What are the most common web application vulnerabilities, and what are the common safeguards for end-users? |
|
The following are most common vulnerabilities found in web applications:
The following are security tips for end-users:
|
|
| Top | |
| 3. | Are there any security tips for securing a web application? |
|
Various security controls should be considered throughout the entire development lifecycle of the project:
|
|
| Top | |
| 4. | If web application development is outsourced, is there any checklist I can use to verify and accept the product? |
| The following are some examples of areas that might
be examined in an assessment of web application security:
Identification and Authentication
Data Protection
Logging
Error Handling
Operation
It must be emphasised that this checklist is not exhaustive. Depending on the security requirements and specific nature of the target web application, additional test cases or checking criteria should be included according to specific needs. In addition, when any information system is outsourced to third party service provider, proper security management processes must be in place to protect data as well as to mitigate the security risks associated with outsourced IT projects/services. |
|
| Top | |
| 5. | What are common authentication methods? |
| There are three basic authentication factors (i.e. "something you know", "something you have", and "something you are") commonly referred to in an authentication system. As a way of tackling the increasing threat of identity theft, two-factor authentication for conducting high-risk e-transactions should be implemented. There are five common authentication methods; namely passwords and PINs based authentication, SMS based authentication, symmetric-key authentication, public-key authentication and biometric authentication. Details of each method is available at the e-Authentication website. | |
| Top | |
| 6. | How can I determine an appropriate level of assurance associated with various electronic transactions and their security requirements? |
|
A suggested process flow for business owners wishing to implement a secure e-Authentication system is available at the e-Authentication website. You can find more information here on determining the assurance levels and corresponding security requirements. |
|
| Top | |
| 7. | What are the common security risks if I decide to adopt server virtualisation, and what are the security measures to mitigate those risks? |
|
Virtualisation technology allows one or more guest operating systems to run on top of another host operating system. Each guest operating system runs in an emulated environment which is self-contained, isolated and indistinguishable from a real machine. Without adequate protection, virtualisation may increase the security risks faced by an organisation. An example of the common security threat posed by deployment of virtualisation is that security isolation between different systems may be weakened due to virtualisation. After virtualisation, isolation between different information systems may rely solely on correct configuration of the internal virtual network. Incorrect configuration could result in security compromises. Software-based network firewalls able to reside in a dedicated virtual machine (VM) may help mitigate this risk. An alternative mitigation is implementation of a hardware firewall between VMs. In order to do so, all traffic between the VMs will be governed by the hardware firewall. However this approach may have a significant impact on network performance. Securing a virtual machine involves many of the same best practices needed for securing any operating system. This includes implementing good patch management practices and endpoint security measures, such as anti-virus measures and firewall implementation on both host and guest operating system. |
|
| Top | |
| 8. | How do intruders attack end-users via a web attack? |
|
Key examples of major web attacks that target end-users or their computers are described below: The 'Italian job' Web attack The MySpace Phish / Drive-by attack Cross-Site Scripting ("XSS") Worms Other attacks |
Download all the Frequently Asked Questions (in PDF format) (62KB)
( To view and print the downloaded document, you need to use an Adobe Acrobat Reader. Please click here to download if necessary. )
| Previous | Top |
Sitemap | Contact Us | Privacy Policy | Disclaimer
Copyright 2009. The Government of the Hong Kong Special Administrative Region.