Installation and Upgrade > Installation and Configuration Guide > Advanced Configurations > Configuring PTC HTTP Server and Embedded Servlet Engine With Other Options > Specifying Web Server Authentication > Specifying a Resource (URL) to Authenticate
  
Specifying a Resource (URL) to Authenticate
By default, Windchill does not configure PTC HTTP Server to require authentication of the Windchill URLs. Windchill does not require authentication. To specify that a given directory, file, or servlet (and URL within the Windchill Web application), be authenticated by PTC HTTP Server, you can execute the following command to set authentication for Windchill. The command must be run from the PTC HTTP Server root directory and the command string must be entered on one line:
ant -f webAppConfig.xml addAuthResource
-DappName=<Web application name)
-Dresource=<relative URL of resource to authenticate>
Where <Web application name> is the Web name you assigned to Windchill and where <relative URL of resource to authenticate> is the relative path from the Web application to the resource to authenticate, for example, the section for the URL after http[s]://hostname:port/.../<Web application name>/... The <relative URL of resource to authenticate> can be a directory, for example, wtcore/jsp, in which case it applies to everything in that directory, or a particular file, for example, foo/info.html.
For example, to require authentication to access the IE servlet in an installation where the Web application name is MyInfoEngine, the command would look like:
ant -f webAppConfig.xml addAuthResource -DappName=MyInfoEngine
-Dresource=servlet/IE