Taing Nguon wrote:
>
> > Make sure that the files are not world readable.
>
> In Linux system, In order to run CGI in PERL script, that perl script
> must be 755. It is read by any users and Perl is written in text format, so
> Its is easy to know user and password of MYSQL. How do you think about
> this?Need More HELP!!!!
>
> Million of thanks
>
> Regards
> Taing Nguon
>
Taing:
Reread my last post. And, if not, step-by-step:
In httpd.conf
# Run web-server as this user
User www
chown www.www /www -Rf
chmod 0750 /www
chmod o-rwx /www -Rf
Done. Now, you're perl scripts will run as user www and nobody on the system
will be able to read the perl scripts unless you add them to the www group.
Something tells me you won't.
Regards,
Van
--
=========================================================================
Linux rocks!!! http://www.dedserius.com
=========================================================================
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php