Re: Restricted access to Mysql through a CGI script

2001-02-14 Thread G. Adam Stanislav
At 20:41 14-02-2001 -0500, sachin shetty wrote: >Hello > >I am accessing a mysql database through a CGI script , but wouldnt like to >give the passwords in the script. Your web account probably contains two types of directories: Those accessible via the web and those that are not. As a rule, you

RE: Restricted access to Mysql through a CGI script

2001-02-14 Thread James R. Butzen
Hi, Make an include file with your connection function and set the proper permission and call it in your cgi script. If you want to restrict table to users it can be done with a simple mysql stmt. It would look something like: GRANT previleges_you_want_give ON db_name.table_name TO your_user_na