Remote User Enviorment

Remote User Enviorment

am 17.06.2011 23:55:14 von mickalo

Hello,

Is there away to generate a remote_user enviorment without having to use the
apache popup login form? What we are thinking of doing is create a static login
form, they enter their username/password, then directing them to a password
protected folder with the .htaccess file in the folder.

This is setup as a password protected folder right now but what we would like to
do, if possible, is to direct users to a static login form 1st., so they can
enter their username/password, the same as the ones stored in the .htpasswd file
used by the .htaccess file in the password protected folder. If they login
successfully they would then be directed to the password protected folder but
wouldn't need to enter their access info again. But I assume the remote_user
enviorment would need to be created when they log in from a static form. Is this
possible to do with Perl ?

What the whole idea is if they attempt to bypass the static login form and try
to go directly to the password protect folder then they would be prompted to
enter their username/password via the apache popup window login, but if they
successfully login via the static form then go directly to the password
protected folder without having to enter their username/password again. Hope I
explained this clearly :)

thanks,

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Remote User Enviorment

am 18.06.2011 04:14:32 von David Christensen

On 06/17/2011 02:55 PM, Mike Blezien wrote:
> Is there away to generate a remote_user enviorment without having to use
> the apache popup login form? What we are thinking of doing is create a
> static login form, they enter their username/password, then directing
> them to a password protected folder with the .htaccess file in the folder.

You can use a framework:

http://www.google.com/search?q=perl+web+framework


You can roll your own:

- Perhaps a mod_perl authentication handler?

http://perl.apache.org/

- Perhaps a CGI script that provides a login form, provides an
authentication cookie, and controls access to resources?

http://perldoc.perl.org/CGI.html

http://search.cpan.org/search?query=htpasswd&mode=all

http://search.cpan.org/search?query=cgi+authentication&mode= all


And, I'm sure there's other options -- TIMTOWTDI. :-)


HTH,

David

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/