Gossamer Forum
Home : Products : DBMan : Customization :

authorization

Quote Reply
authorization
i'm thinking of buying the db...question is do you have to have the user enter an id and pw or can they bipass that and go directly to the search form? of course there would be no authorization for adding or modifying...just searching or viewing.
Quote Reply
Re: authorization In reply to
Hi Exc,

You can link to the database as follows;

Code:

1.Default Users. If you go to:
http://server.com/cgi-bin/db.cgi?uid=default

You will log into the database with default permissions.
2.You can use this method to bypass the log on, and go directly to an add form, or to a prebuilt search. For different databases (the database being mydb below), just use:
http://server.com/cgi-bin/db.cgi?db=mydb&uid=default
To do a search for 'cgi' in a field called 'title' you could do:

http://server.com/cgi-bin/db.cgi?db=mydb&uid=default&view_records=1&title=cgi

You can pass in as much as you like to the script this way.

Hope this helps, Smile

Fordy.