Gossamer Forum
Home : Products : DBMan : Installation :

Isit possible to let guest skip the login but for admin, they need to login and...

Quote Reply
Isit possible to let guest skip the login but for admin, they need to login and...
key in their password?

eg, I want to enter the url to let others see the list without enter any userid and password, but for admin, it will need to enter userid and password?

if possible, how do to it?
Quote Reply
Re: Isit possible to let guest skip the login but for admin, they need to login and... In reply to
Assuming your database is named "default," you would use the following URL for users to view without logging in:

http://URL/to/your/cgi-bin/db.cgi?db=default&uid=default

For those who you want to log in, the URL would be:
http://URL/to/your/cgi-bin/db.cgi

Also, in the default.cfg file, be sure to have the following settings:

$auth_no_authentication = 0;
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);



------------------
JPD