PDA

View Full Version : RFE: new Context "authentication"


ts77
06-13-2006, 02:54 AM
Hello folks,

I'd really like to see a simple "authentication"-context in lsws in one of the coming versions.
I'm especially interested in the settings:
Realm
Authentication Name
Required

for protecting a directory or file from public access like that.
I know, I can do all this with a static file context but why do I have to go all those options just for adding a authentication realm? ;-)

Currently I'm using .htaccess-files for that but I'd like to avoid their overhead, even if they are cached.

mistwang
06-14-2006, 10:38 AM
I think you can use the "Apache style configure" by inserting apache directives there when you configure a context. :)

ts77
06-14-2006, 05:35 PM
yeah, I could but why make ones life harder?
It would just be a step to make it a little bit easier :).

mistwang
06-14-2006, 06:59 PM
I misunderstood your first post.
It may not as difficult as you think to use a "static" context. :)
The extra configuration you need to click between a 'static' and 'authentication' context is only one option "accessible", as you can leave "location" blank.