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:[EMAIL PROTECTED]] > Sent: 23 May 2001 18:59 > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]