Securing your environment after installation

Before you begin

WebSphere Application Server depends on several configuration files created during installation. These files contain password information and need protection. Although the files are protected to a limited degree during installation, this basic level of protection is probably not sufficient for your site. Verify that these files are protected in compliance with the policies of your site.

The files in the install_root/config and install_root/properties, except for those in the following list, need protection. For example, give permission to the user who logs onto the system for WebSphere Application Server primary administrative tasks. Other users or groups, such as WebSphere Application Server console users and console groups, who perform partial WebSphere Application Server administrative tasks, like configuring, starting servers and stopping servers, need permissions as well. The files in the install_root/properties directory that should not be protected are:

Steps for this task

  1. Secure files on a Windows system:
    1. Open the browser for a view of the files and directories on the machine.
    2. Locate and right-click the file or the directory to protect.
    3. Click Properties.
    4. Click the Security tab.
    5. Remove the Everyone entry and any other user or group that should not have access to the file.
    6. Add the users who should be allowed to access the files with the proper permission.
  2. Secure files on UNIX systems.
    This procedure applies only to the ordinary UNIX file system. If your site uses access-control lists, secure the files by using that mechanism. Any site-specific requirements can affect the desired owner, group and corresponding privileges. For example, on AIX,
    1. Go to the install_root directory and change the ownership of the directory configuration and properties to the user who logs onto the system for WebSphere Application Server primary administrative tasks.
      Execute the following command: chown -R logon_name directory_name

      Where:

      • login_name is a specified user or group.
      • directory_name is the name of the directory that contains the files.

      It is recommended that you assign ownership of the files containing password information to the user who runs the application server. If more than one user runs the application server, provide permission to the group in which the users are assigned in the user registry.

    2. Set up the permission by executing the following command: chmod -R 770 directory_name.
    3. Go to the install_root/properties directory and set the access permissions.
      Set the access permissions for the following files as it pertains to your security guidelines:
      • TraceSettings.properties
      • client.policy
      • client_types.xml
      • implfactory.properties
      • sas.client.props
      • sas.stdclient.properties
      • sas.tools.properties
      • soap.client.props
      • wsadmin.properties
      • wsjaas_client.conf

      For example, you might issue the following command: chmod 770 file_name where file_name is the name of the file listed previously in the install_root/properties directory. These files contain sensitive information such as passwords.

    4. Create a group for WebSphere Application Server and put the users who perform full or partial WebSphere Application Server administrative tasks in that group.
    5. Restrict access to the /var/mqm directories and log files needed for WebSphere embedded messaging or WebSphere MQ as the JMS provider. Give write access only to the user ID mqm or members of the mqm user group. For detailed information, see .

Results

After securing your environment, only the users given permission can access the files. Failure to adequately secure these files can lead to a breach of security in your WebSphere Application Server applications.

What to do next

If there are any failures caused by file accessing permissions, check the permission settings.

Related tasks
Implementing security considerations



Searchable topic ID:   rsecpostinstall
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/rsec_postinstall.html

Library | Support | Terms of Use | Feedback