[Tilecache] Tilecache Authentication

Gissur Þórhallsson gissur at loftmyndir.is
Mon Jan 14 07:57:27 EST 2008


Thank you for your comments, they are very helpful. I'll probably do as you suggest, write some authentication code in mod_python. Python tutorials here I come :)

Thanks a lot,
Gissur 

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: 14. janúar 2008 12:47
To: Gissur Þórhallsson
Cc: tilecache at openlayers.org
Subject: Re: [Tilecache] Tilecache Authentication

On Mon, Jan 14, 2008 at 11:25:51AM -0000, Gissur Þórhallsson wrote:
> Hello
> The problem now is that the tilecache server is still wide open. I'm wondering whether there are any tried and tested ways of authenticating calls to the tilecache?

I would simply use HTTP authentication. Instead of doing anything fancy
with cookies, sessions, etc. you just use Apache basic auth on the end
point. Users are automatically prompted by their browser for a login
when they're browsing tiles.  

If you want to do something more complex than that, I'd (personally)
still write my authentication code *outside* the server -- probably in a
mod_python auth handler, if I had to.

> I ran  a search of the list archives and ran into this: HYPERLINK "http://www.nabble.com/WMS-Layer-Authentication-to11011267.html#a11011267"http://www.nabble.com/WMS-Layer-Authentication-to11011267.html#a11011267 
> 
> But I was unable to find said code in my distribution of tilecache, so I assume it's not in the build as of yet - anybody have any thoughts on that?

Well, there's two things here:
 1. I missed that patch. Dunno how, I'll make an effort to get it in at
    some point soon.
 2. It wouldn't help you. That's a patch for password protection on the
    *backend* -- you're working on the frontend, and you've already
    solved the problem that that patch solves with IP filtering. 

Regards,
-- 
Christopher Schmidt
MetaCarta

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 13.1.2008 20:23
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 13.1.2008 20:23
 



More information about the Tilecache mailing list