<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>3DSite</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Hi Milo</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>cant you use the existing system ?</FONT></DIV>
<DIV><FONT color=#000000 size=2><A
href="http://www.cartoweb.org/doc/cw3.3/xhtml/user.security.html#user.security.plugin_permissions.layers">http://www.cartoweb.org/doc/cw3.3/xhtml/user.security.html#user.security.plugin_permissions.layers</A></FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>if you want to change layer data on-the-fly, you
can change some (not all) parameters via mapOverlay</FONT></DIV>
<DIV><FONT color=#000000 size=2>see example there</FONT></DIV>
<DIV><FONT color=#000000 size=2><A
href="http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002236.html">http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002236.html</A></FONT></DIV>
<DIV><FONT color=#000000 size=2>dont hesitate to look at the code of
ServerMapOverlay.php to see the available action possible, its pretty
strightforward</FONT></DIV>
<DIV><FONT color=#000000 size=2>also <A
href="http://www.cartoweb.org/doc/cw3.3/apidoc/Plugins/ServerMapOverlay.html">http://www.cartoweb.org/doc/cw3.3/apidoc/Plugins/ServerMapOverlay.html</A></FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>regards</FONT></DIV>
<DIV><FONT color=#000000 size=2>Oliver</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">-----
Original Message -----</DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mlinden@zeelandnet.nl href="mailto:mlinden@zeelandnet.nl">Milo van
der Linden</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 29, 2007 10:40
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] MapFile based
upon user credentials</DIV>
<DIV><BR></DIV><FONT face="Helvetica, Arial, sans-serif">Hello list!<BR><BR>I
want my mapfile to have layers based upon user credentials. For instance:<BR>-
A user logs in to the system. The moment the user logs in, a specific postGIS
database should be accessed for certain fixed layers. Within the query to
access the layer, a parameter pointsetID is introduced restricting the user to
only get points that validate with the pointsetID should get
returned.<BR><BR>My feeling tells me to use the mapOverlay, but it is not to
well documented.<BR><BR>Any tips or tricks?<BR></FONT>
<DIV class=moz-signature>-- <BR>
<STYLE type=text/css>BODY {
        MARGIN: 5px; BACKGROUND-COLOR: #ffffff
}
BODY {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TH {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
.style4 {
        FONT-SIZE: 9px
}
.style5 {
        FONT-SIZE: 9px; COLOR: #cccccc
}
</STYLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width=15 height=0 rowSpan=3><BR></TD>
<TD vAlign=top align=left width=0 colSpan=2 height=78>
<P class=style4>Milo van der Linden <BR><A
href="skype:milovanderlinden?add">skype: milovanderlinden</A><BR><A
href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</A><BR><A
href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</A><BR><A
href="mailto:milo@3dsite.nl">milo@3dsite.nl</A><BR><A
href="http://www.3dsite.nl">http://www.3dsite.nl</A><BR></P></TD>
<TD vAlign=top align=left width=15 height=0 rowSpan=3> </TD>
<TD vAlign=top width=300>
<P class=style5><SPAN lang=NL>De informatie in dit bericht reflecteert
mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan
de informatie kunnen geen rechten worden ontleend. Indien dit bericht
onderdeel is van een forum, mailing-list of community dan gelden
automatisch de bij het betreffende medium behorende voorwaarden.</SPAN>
<SPAN lang=EN>The information in this message reflects my personal
opinion and not that of a company or public body. All rights reserved.If
this message is contained in a mailing-list or community, the rights on
the medium are automatically
adapted.</SPAN></P></TD></TR></TBODY></TABLE></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>