<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I would like to restrict different users to different geographic
regions based on a secret in the URL they are using to access
MapServer. <br>
<br>
I intend to use an inner join on a table with secrets / polygons,
and then use the run-time substitution in MapServer to insert the
sanitized secret into the Postgis query.<br>
<br>
The crux, I think, is that I have to send WMS 1.3.0 GetCapabilities
URLs to our users. And I don't think I can make the getcapabilties
document include the (variable) secret in the
<meta charset="utf-8">
OnlineResource elements ?<br>
<br>
So I am thinking about writing a wrapper that rewrites the
GetCapabilities document on the fly. My question is, is there a
better way that I have not thought of?<br>
<br>
Kind regards,<br>
Arne<br>
</body>
</html>