tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Cheesman <jch...@msl.es>
Subject Re: Limits on the size of the web.xml file?
Date Tue, 04 Sep 2001 07:10:06 GMT

>
>Consider that you might have the mailboxes for a particular user defined
>in a database table called "mailboxes", with columns "username" and
>"mailboxname".  It would be easy to construct an SQL statement like this:
>
>   select mailboxname from mailboxes
>     where username = xxx
>
>and replace xxx by the value returned from request.getRemoteUser().  This
>would allow the user access *only* to his or her own mailboxes.

Assuming, of course, that your users are using the same machine / login id 
- not necessarily the case in, for example, a university with shared 
machines...


Still, you're going to need to do something like that.





--

                           *   Jim Cheesman   *
             Trabajo: 
jchees@msl.es - (34)(91) 724 9200 x 2360
                           Evil is 
not all bad.



Mime
View raw message