|
From: shane <sh...@lo...> - 2001-09-18 10:54:46
|
At 04:52 PM 9/17/2001 -0700, wa...@Ry... wrote: >All, > >Please excuse me if this is a FAQ, but I'm a newbie and simply can't find >the information I'm looking for. > >Does Slashcode already have a pre-existing feature to require users to be >logged in to be able to view particular content? For example, if I had a >particular section I would like to restrict to logged in users only, is >there a way in the stock slashcode that would enforce this. > >I'm not looking for iron-clad security (although I'll take it if it's >there.) I'm mostly looking for something so that an anonomous user >wouldn't know about the existance of certain URL's. Also, there is yet another way to lock people out, and this (imho) is pretty cool. You write your own apache handler to lock people out who don't have a specific cookie. At first this sounds horrific, but if you look at the Slash code, they've already done 95% of the work for you with their Index Handler code. I've got one that locks out a whole directory if the user isn't logged in. But you could expand on it pretty easily. If anyone wants it I'll put a tarball up. Shane |