passwords

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
guest
Guest





PostPosted: Tue Aug 27, 2002 2:23 pm    Post subject: passwords Reply with quote

Hello,
sorry for being critical, but the method for creating password protected directories on Abyss1.1 is good but doesnt seem to allow for cgi-interaction.

I have a perl based site which generates password protection on the fly.
Is there any way to integrate this to the abyss engine?

thanks..
ab.
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Aug 28, 2002 3:01 am    Post subject: Re: passwords Reply with quote

guest wrote:
Hello,
sorry for being critical, but the method for creating password protected directories on Abyss1.1 is good but doesnt seem to allow for cgi-interaction.

I have a perl based site which generates password protection on the fly.
Is there any way to integrate this to the abyss engine?

thanks..
ab.

[ A small note: It was preferred that your post was in section 1.1 Beta as it is not related to the latest stable version 1.0.7 ]

Your question is a little bit technical. We choosed by design to include the users database in the abyss.conf. We haven't followed other web servers model (although not that many support what you ask for).

Access control is meant for static content. Interactivity isn't targeted. So the better way is to build your script in a way that it handles its access control alone (using session for example).

Anyway, here are 2 methods to change/add users in the abyss.conf:

* You can write a script that handles the entire rewrite of the abyss.conf
file when a password is changed. This is possible and should not be a
problem.
* But the "clean" way to do that is to simulate the modification of a user
password using the console. This can be achieved by sending HTTP requests to
the console.
Here is an example of such a request to send (after connecting to
127.0.0.1:9999)
Code:
GET /save?$username=jack&$Password0=theripper&$Password1=therippser&+user=1
HTTP/1.0
Authentication: Basic xxxxxxxxxxx

You can then ignore the response (you should of course be sure that the
passwords are good enough).

To restart the server, you must issue the following request

Code:
GET /save?*run=1 HTTP/1.0
Authentication: Basic xxxxxxxxxxx


xxxxxxxxxxxx is equal to MD5( admin-login & ":" & admin-password)

& is the string concatenation operator. Notice also that +user and $Password1 can be found easily in the useradd.chl file in the chl directory.

If you have more questions about that, please post them on 1.1 Beta section in the forum or send it to beta@aprelium.com .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Gate
-


Joined: 22 Mar 2003
Posts: 1
Location: Brooklyn, NYC

PostPosted: Mon Mar 24, 2003 9:15 pm    Post subject: Login for first page on website ??? Reply with quote

Hi , Just read about the passord topice here and Have a Question, My website is up and running with Abyss new version and What i need is when my ppl connect to the site address a login window will appear requesting User Name And Password then once correct the first page will come up. It it possible with Abyss and how ? ..
Been trying scripts added to the index.htm but seems unsecrue..
Gate :roll:
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Mar 24, 2003 10:21 pm    Post subject: Re: Login for first page on website ??? Reply with quote

Gate wrote:
Hi , Just read about the passord topice here and Have a Question, My website is up and running with Abyss new version and What i need is when my ppl connect to the site address a login window will appear requesting User Name And Password then once correct the first page will come up. It it possible with Abyss and how ? ..
Been trying scripts added to the index.htm but seems unsecrue..
Gate :roll:

For a tutorial on how to have password protected directories, please read http://www.aprelium.com/forum/viewtopic.php?t=544 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group