To enable anonymous download for the guest user using the GuestDownloadContentServlet is simple if you are running without multi-tenancy.
But how do you solve this if you have a multi-tenant setup?
For what I can tell, there is no way in the current content servlets to specify what tenant domain the content resides in, something you need to know to know where to look for the content.
So I guess I need to create my own download servlet, or download webscript.
For webscripts you can specify runas in config declaration, so I suppose runas=guest@tenantname would work (not tested), but then I would need to declare several webscripts, one for each tenant. Could be better if tenant domain can be set at runtime for the webscript.
This can probably be done with a java-backed webscript, any pointers on how to set a guest user for specific tenant in java?