[Klone-users] simple authentication klapp (updated)

Alvaro Pereira alvaro.pereira at guidance.eu.com
Wed Mar 12 12:28:59 EDT 2008


Hi Thomas,

I am very interested in this new username/password feature and had a
look on the example, but I have a couple of questions:

1.- How do you generate the encrypted passwords? I had a look in 2
different websites on how to create .htpasswd files, but none of them
come out with an encrypted password similar to Klone's. I suppose Klone
must have a different generator algorithm. 

2.- In the example the passwd file is actually embedded. But how about
if I would like to have such a file in the file system of my embedded
product. The reason is that I would like to access it as an
administrator and be able to add/change/delete passwords, so the
combination of usernames/passwords can be tailored for each unit we
produce. It would be ideal the administrator is able to access this file
through the web service itself (something I can do right now, but
without the encryption capability).
So let's say that when I log into the unit using Klone, there is a page
that submits an HTML form where I can do these operations in the passwd
file.

3.- How can I have a look on the libu:pwd module API? I guess it is the
one with all these definitions. In the example there are functions like
u_pwd_auth_user and u_pwd_init. Where are they defined?

Regards,
Alvaro


-----Original Message-----
From: klone-users-bounces at koanlogic.com
[mailto:klone-users-bounces at koanlogic.com] On Behalf Of thomas fossati
Sent: 12 March 2008 08:28
To: Klone users
Subject: Re: [Klone-users] simple authentication klapp (updated)

On Mar 6, 2008, at 4:40 PM, thomas fossati wrote:
> Hello all,
>
> we've put up a simple webapp with authentication based on session  
> variables.  For those who care, the code is at:
http://www.koanlogic.com/download/klone/klapp-auth-simple-1.0.0.tar.gz 
>  .


A new version of the above klapp which uses an embedded htpasswd-like  
credential database is available at:
http://www.koanlogic.com/download/klone/klapp-auth-simple-1.0.2.tar.gz

The new htpasswd-like features (provided by the libu::pwd module) will  
be available starting from the next official KLone release.  For the  
moment, a snapshot release (i.e. 2.0.3rc0) is found at:
http://www.koanlogic.com/download/klone/klone-2.0.3rc0.tar.gz

Have fun, and in case of doubt ask.

ciao, t.

_______________________________________________
Klone-users mailing list
Klone-users at koanlogic.com
http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
This e-mail (and any attachment) is intended only for the attention of the addressee(s). Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroy all copies and inform the sender by return e-mail.   Internet e-mail is not a secure medium. Any reply to this message could be intercepted and read by someone else. Please bear that in mind when deciding whether to send material in response to this message by e-mail.

This e-mail (whether you are the sender or the recipient) may be monitored, recorded and retained by Guidance Navigation Limited, Guidance Monitoring Limited or any other member of the Guidance group of companies.  E-mail monitoring / blocking software may be used, and e-mail content may be read at any time. You have a responsibility to ensure laws are not broken when composing or forwarding e-mails and their contents.

Guidance Monitoring Limited (Co No 2626613) and Guidance Navigation Limited (Co No 5231840) are wholly owned trading subsidiaries of Guidance Limited (Co No 5231837).   All Guidance group companies are registered in England and Wales with Registered Offices at 4 Dominus Way, Leicester, LE19 1RP.  Please note that nothing in this email may be considered to be binding upon Guidance Limited unless the email is from a Director of Guidance Limited and the text refers specifically to commitments by Guidance Limited, rather than one of the above trading companies.





More information about the klone-users mailing list