Sun Java System Web Server 7.0 Update 5 Administrator's Guide

Setting Up P3P

Platform for Privacy Preferences (P3P) enables web sites to express their privacy practices in a standard format that can be retrieved automatically and interpreted easily by user agents. P3P user agents enable users to receive information about site practices (in both machine- and human-readable formats). For more information, see http://www.w3.org/P3P/.

ProcedureConfiguring Virtual Server's P3P Settings

  1. Click the Configurations tab to see the list of available configurations and select the configuration you need.

  2. Click the Virtual Servers tab to see the available servers and select the virtual server from the list.

  3. Click the General tab and configure the following settings under P3P section.

    • Enabled — Enable P3P for the selected virtual server.

    • Policy URLEnter the location of the relevant P3P policy file.

    • Compact PolicyCompact policies provide hints to user agents (browsers or other P3P applications) to enable the user agent to make quick, synchronous decisions about applying policy. Compact policies are a performance optimization that is meant by the P3P specification to be optional for either user agents or servers.


    Note –

    Using CLI

    To enable P3P for the virtual server, execute the following command:


    wadm> enable-p3p --user=admin --password-file=admin.pwd --host=serverhost 
    --port=8989 --config=config1 --vs=config1_vs_1 --policy-url=http://xyz.com/policyurl

    See CLI Reference, enable-p3p(1).