<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/doc/cw3.4/xhtml/user.security.html">http://www.cartoweb.org/doc/cw3.4/xhtml/user.security.html</A></FONT></DIV>
<DIV><FONT size=2>I agree the documentation is not so clear.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>basicaly you need to create some users
like users.*username* = *password_md5*</FONT></DIV>
<DIV><FONT size=2>in the auth.ini file</FONT></DIV>
<DIV><FONT size=2>for example </FONT>users.alice =
e3e4faee0cc7fc55ad402f517cdaf40</DIV>
<DIV><FONT size=2>(see doc to see how to generate the <FONT size=3>md5sums of
the password</FONT>)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>if you just want to prevent unauthorised people to access your
application, all you have to do is :</FONT></DIV>
<DIV><FONT size=2>1) enable the auth plugin in the list of plugin in file
client.ini</FONT></DIV>
<DIV><FONT size=2>2) add in the client.ini :</FONT></DIV>
<DIV>securityAllowedRoles = loggedIn</DIV>
<DIV>(meaning people have to log in to access.</DIV>
<DIV>loggedIn is a special role already defined in Cartoweb.)</DIV>
<DIV>3) create the users in the auth.ini (as the example above)</DIV>
<DIV> </DIV>
<DIV><FONT size=2>a few plugins may be set to use the authentication, for
example "exportPdf" or "edit", refer to the corresponding plugin documentation
to see the details.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you can also define new roles, but unless you start modifing
existing plugin or developping new one, you dont really need
that.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=natashachatterjee02@yahoo.co.in
href="mailto:natashachatterjee02@yahoo.co.in">natasha chatterjee</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-dev@lists.maptools.org
href="mailto:cartoweb-dev@lists.maptools.org">cartoweb-dev@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 31, 2007 9:44
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-dev] how to give user
authentication</DIV>
<DIV><BR></DIV>
<DIV>Hello</DIV>
<DIV> please can anyone tell me how
to do the user authentication in cartoweb</DIV>
<DIV> I am a beginner as far as
using of cartoweb is concerned . </DIV>
<DIV> Looking forward to a reponse
eagerly.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> Natasha</DIV>
<P><!--1-->
<HR SIZE=1>
</HR>Flying to Bangalore or Bhopal? <A
href="http://in.rd.yahoo.com/tagline_farechase_1/*http://in.farechase.yahoo.com">Search
for tickets here.</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-dev mailing
list<BR><A
href="mailto:Cartoweb-dev@lists.maptools.org">Cartoweb-dev@lists.maptools.org</A><BR>http://lists.maptools.org/mailman/listinfo/cartoweb-dev<BR></BLOCKQUOTE></BODY></HTML>