| View previous topic :: View next topic |
| Author |
Message |
psyhuaska
Joined: 19 Jan 2010 Posts: 1
|
Posted: Tue Jan 19, 2010 11:29 pm Post subject: Global Authentication |
|
|
hello!
is possible to have global authentication?
Actually i have per mount authentication working:
| Code: |
<mount>
<mount-name>/test.php</mount-name>
<authentication type="url">
<option name="mount_add" value="http://xx/mountadd.php"/>
<option name="mount_remove" value="http://xx/mountremove.php"/>
<option name="listener_add" value="http://xx/listeneradd.php"/>
<option name="listener_remove" value="http://xx/listenerremove.php"/>
</authentication>
</mount>
|
But i need system wide authentication. Is that possible?
I also try <mount-name>/*</mount-name> but i don't work...
Any tip?
Thanks!
Last edited by psyhuaska on Tue Jun 08, 2010 8:21 pm; edited 1 time in total |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jan 20, 2010 12:49 am Post subject: |
|
|
The only way to use wildcard support (to allow 1 mount definition to be applied to several mountpoints) is to use my branch work. For most, the underlying routines already exists but on some platforms, a substitute routine was required and so far that has shown to be working well.
There are issues to be wary of though. The order of those mounts if multiple mount definitions will match (last one matches). If you use /* then that applies to everything including the xsl pages in webroot and icons (you can make a dummy entry for say /*.png or /*.xsl with no auth to get around that). Lastly the number of auth requests to have ongoing at any one time, but default it is 1, but the handlers option will allow up to 20 currently.
karl. |
|
| Back to top |
|
 |
|