What is the correct way to use default auth?
| From: | Jason Wong | Date: | Thu, 03 Aug 2000 10:40:52 +0000 |
| Subject: | What is the correct way to use default auth? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9898@lists.php.net to get a copy of this message | ||
I've managed to get default auth to work for pages which require partial
protection. However for pages that have full protection (ie have
$perm->check near the top of the page) they dump me to the permission denied
page (presumably because 'nobody' has no permissions).
My question is for pages that require full protection should I be using a
different auth class (which I guess would be the same as my usual auth class
but with the var $nobody unset), OR should I not be using $perm->check at
all but use some different perm check code (ie write my own)?
thanks
-
Jason Wong
Digital View Ltd
2201 Nanyang Plaza
57 Hung To Road
Kwun Tong
HONG KONG
Tel: +852-2861-3615
Fax: +852-2520-2987
www.digitalview.com