<!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 about
that.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>basicaly you need to creat some user user.*username* =
*password_md5*</FONT></DIV>
<DIV><FONT size=2>in the auth.ini file</FONT></DIV>
<DIV><PRE class=programlisting>users.alice = e3e4faee0cc7fc55ad402f517cdaf40</PRE></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 add in the client.ini :</FONT></DIV>
<DIV><PRE class=programlisting>securityAllowedRoles = loggedIn</PRE><PRE class=programlisting>meaning people have to log in to access.</PRE><PRE class=programlisting>loggedIn is a special role already defined in Cartoweb.</PRE><PRE class=programlisting> </PRE></DIV>
<DIV><FONT size=2></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>