Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Preventing Clickjacking using command line in OfficeScan (OSCE)

    • Updated:
    • 23 Nov 2017
    • Product/Version:
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Platform:
    • Windows 10 32-bit
    • Windows 10 64-bit
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Server R2
    • Windows 2003 Standard 64-bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2008 Web Server Edition
    • Windows 2008 Web Server Edition 64-bit
    • Windows 2012 Datacenter R2
    • Windows 2012 Enterprise
    • Windows 2012 Enterprise R2
    • Windows 2012 Server Essential R2
    • Windows 2012 Server Essentials
    • Windows 2012 Standard
    • Windows 2012 Standard R2
Summary

Clickjacking is a malicious technique of tricking a web user into clicking on something different from what the user perceives they are clicking on, thus potentially revealing confidential information or taking control of their computer when they click on seemingly innocuous web pages.

A Clickjack takes the form of an embedded code or a script that executes without the user's knowledge i.e. clicking on a button performs another function.

Details
Public

IIS server

To configure an Internet Information Services (IIS) server:

  1. On the OSCE server, open Command Prompt with administrative privilege.
  2. Execute the following command:

    “C:\Windows\System32\inetsrv\appcmd.exe\" set config "OfficeScan" -section:httpProtocol "/+customHeaders.[name='X-Frame-Options',value='SAMEORIGIN']”

  3. Close the command window.

Apache server

To configure an Apache server:

  1. On the OSCE server, open the httpd.conf file in the PCCSRV\Apache2\conf directory.
  2. Add the following information into the httpd.conf file:

    #set up response header
    <IfModule mod_headers.c>
    Header always append X-Frame-Options SAMEORIGIN
    Header set Content-Security-Policy "default-src 'self'"
    </IfModule>

  3. Save and close the httpd.conf file.
  4. Restart Apache2.2 service.
Premium
Internal
Rating:
Category:
Configure
Solution Id:
1116727
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.