r3 - 04 May 2006 - 00:54:15 - SamHaslerYou are here: TWiki >  Codev Web > TWikiRoot > RdiffauthCgiScript
Tags:
, create new tag
This script appeared in Cairo.

What does it do and why is it necessary? I am concerned that it implies a requirement to duplicate every CgiScript with a parallel script that first performs authentication.

On an authentication system I once worked for at a past employer we used a single 'auth' script that was called when the system realised that it needed to authenticate. Only this script was marked as needing valid-user. The script was passed a parameter from the calling script that told auth where to go on success and failure.

e.g.

auth?succeeded=view/%WEB%/%TOPIC%&failed=oops/%WEB%/%TOPIC%&template=oopsauth

The passed succeed and failed parameters were URL encoded so that they can each carry nested parameter strings.

Would this be useful for TWiki?

-- MartinCleaver - 27 Sep 2004

The single auth script is a nice idea.

-- PeterThoeny - 28 Sep 2004

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo