You are here: FME Server Developer's Guide > Developing with the Web Services > FME Server Transformation Services > Configuring Security

Configuring Security

Guest Account Access

FME Server security is on by default. As a developer, you may want to remove authentication from certain transformation services so you can run workspaces without providing credentials. FME Server includes a guest user account assigned to the fmeguest role. This role removes authentication from any services to which it is allowed. The fmeguest role is allowed access to the following services by default:

Securing a Service

This example adds authentication to the Data Download service.

  1. Browse to the Security page of the FME Server Web User Interface (http://localhost/fmeserver/security) and click on the Resources tab.
  2. Click on the Data Download service.
  3. On the Editing page, remove the fmeguest role.
  4. Click OK.

Now, when you try to access the data download service, you are prompted for credentials.

Modifying the Default Guest Role

By default, FME Server uses the guest user assigned to the fmeguest role to control authentication on the web services. If you want to create your own guest user, or modify the password for the existing guest user, you must change the service’s propertiesFile.properties file.

The following example removes the guest user and then creates a new user datadownloadguest and assigns it to the fmeguest role.

  1. Browse to the Security page of the FME Server Web User Interface (http://localhost/fmeserver/security) and click on the Roles tab.
  2. Edit the fmeguest role and remove the guest user from the list of members.
  3. If you now try access the data download service (http://localhost/fmedatadownload/Samples/austinApartments.fmw), it requires authentication because the guest user that the data download service uses to authenticate is no longer assigned to a role.

  4. Go to the Users tab and create a new user called datadownloadguest. Give it whatever password you want and assign it to the fmeguest role.
  5. Open the file: C:\apps\FMEServer\Utilities\tomcat\webapps\fmedatadownload\WEB-INF\conf\propertiesFile.properties
  6. Locate the parameters listed below and set:
  7. DEFAULT_USER_ID=datadownloadguest

    DEFAULT_PASSWORD=<password>

    Now when you access the data download service (http://localhost/fmedatadownload/Samples/austinApartments.fmw), it runs without prompting for authentication.

Safe Software Inc. www.safe.com