Hi David,
thank you for the fast answer. Unfortunately it didn't solve my
problem - however I'd like to leave my solution here for others in the
future. Since users can create accounts in my application it is
impossible for me to add every single one of them to "Partners". The
user credentials are stored in an mysql database. My solution is to
use the apache module "mod_auth_mysql". I then check the user
credentials for every request - are they allowed to use the web
service? Secondly I use $_SERVER[PHP_AUTH_USER] and
$_SERVER[PHP_AUTH_PW] to check if the specified user has access to the
resource he requested.
SSL secures communication. Right now the passwords in the database are
stored plain text, this is going to be changed to crypt() soon.
On 29 Aug., 18:01, David Coallier <
dav...@php.net> wrote:
> Yep what you have to do is make the actions non-public (In the action
> edit section) and add the users you want to the "Partners" section of
> the administration interface. This will force everyone to use HTTP
> Digest Authentication. Add this on top of SSL and you should be fine
> :-)
>