[Asterisk-Dev] Authenticate App with Rights Check.
Alvaro Parres
aparres at gmail.com
Wed Jan 11 18:50:50 MST 2006
Hi list, becouse a requirement of one client i have
to program a Authenticate App, that authenticate
and also check if the user have permission for doing it.
I have been thinking to use the actual Authenticate module
only with some changes. For check the rights of the user.
The first think i want to consult all is the password and rights
file to use:
I was thinking on a fiel with the next format:
account_code:password:list_of_rights_separte_by_comas
i mean we can have somthin like this
0001:1234:4,3,6,10,78
0002:4532,12,5,3,1
And the command will be
exten _900.,1,AuthRights(/path/to/file|3|j)
this will search te user password and then check if he have the
right 3.
I will start progamming this, i'm open for suggestions.
Alvaro Parres.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060111/163b5a53/attachment.htm
More information about the asterisk-dev
mailing list