RE: [PHP-DB] User Permissions
| From: | Steve Brett | Date: | Thu, 24 May 2001 08:15:34 +0000 |
| Subject: | RE: [PHP-DB] User Permissions | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9595@lists.php.net to get a copy of this message | ||
we use sessions and then include a general script to check they are logged
in and then in individual areas use an if ($seclevel == 1) approach.
obviously register $seclevel and any other security levels , codes etc.
or, depending on the db, have a look at grant and revoke and set permissions
at the db level ...
let me know if you need any more help.
Steve
> -----Original Message-----
> From: Adv. Systems Design [mailto:asd_2000@yahoo.com]
> Sent: 23 May 2001 18:59
> To: php-db@lists.php.net
> Subject: [PHP-DB] User Permissions
>
>
> Hello *:
>
> I have to code an app that must enforce user
> permissions in terms of data entry and editing (only
> certain records may be edited by certain people).
>
> I realize that each situation is unique, but does
> anyone have a starting place they recommend?
>
> TIA
>
> Luis
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>