LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 07-11-2008, 11:38 AM   #1
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 76

Rep: Reputation: 15
solaris - web based autologin


i have an apache server at home on which i run a small website.
in the httpd.conf i have set some authentication requirements on specific directory's

what i wanna do now is to make a script and put it in my bashrc or dtprofile ... so after i login to the GUI or shell with my user/pass the script will be triggered to send my credentials to the server (a cookie or token) so that when i open my password protected directory it wont asked me for user/pass but it will act as if i already provided them

and when i log off the server another script should be launched and remove that token or cookie ... ?

any idea on how to do something like this or what/where exactly to search
 
Old 07-16-2008, 05:15 AM   #2
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 76

Original Poster
Rep: Reputation: 15
can someone give me a small tip please?
 
Old 07-16-2008, 11:35 AM   #3
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 76

Original Poster
Rep: Reputation: 15
ok,
maybe i wasnt clear
im talking about the Basic Authentication mechanism
and as explained in the wiki page: Basic access authentication
A client may pre-emptively send the authentication header in its first request, with no user interaction required.
i wanna know how can i make my firefox do that?
 
Old 07-18-2008, 03:57 AM   #4
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 76

Original Poster
Rep: Reputation: 15
ok, im a small step further ...
i found this nice library Apache::AutoLogin - Automatic login module based on encrypted cookies for sites using basic authentication.

all i need now is to test it
 
  


Reply

Tags
apache, autologin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SELinux - Highly Secured Web Hosting for Python-based Web Applications LXer Syndicated Linux News 0 05-28-2008 08:30 AM
Autologin a user at startup? (Solaris 10) anti.corp Solaris / OpenSolaris 2 04-08-2006 02:06 AM
trying to set up a blog based on solaris innersmile Solaris / OpenSolaris 5 07-23-2004 10:25 AM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 06:16 PM
from a gui-based s/w to a web-based app h/w Programming 0 04-13-2004 03:07 PM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration