Configure Content Gateway for Anonymous Access

To use the Content Gateway just as a proxy for your Swarm cluster, enable Anonymous Access on the Gateway. Complete these steps:

1. Edit the Policy document, /etc/caringo/cloudgateway/policy.json, as follows: 

{
   "Version":"2008-10-17",
   "Id":"DefaultAnonymousPolicy",
   "Statement":[
      {
         "Effect":"Allow",
         "Sid":"1",
         "Principal":{
            "anonymous":[
               "*"
            ]
         },
         "Action":[
            "*"
         ],
         "Resource":"/*"
      }
   ]
}

2. Having the policy.json set up to allow anonymous access works alongside a normal idsys.json file that allows logins to the UIs. If you are not using any UIs, you can edit the IDSYS document, /etc/caringo/cloudgateway/idsys.json, and empty it as follows:

{ }

3. Restart the Content Gateway service:

service cloudgateway restart

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.