LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2004, 02:17 PM   #1
dpp777
Member
 
Registered: May 2004
Location: Austin, Tx
Distribution: RHEL / Slackware
Posts: 33

Rep: Reputation: 15
mod auth mysql configuration


Hello. In order to implent a tie to our user database, I have installed mod_auth_mysql. The installation is a success, however, I have a question that hopefully someone here can answer.
In order to tie in to the user database, which is on a different server, I have to have the following put into my htaccess fille:
AuthName "Moooooose"
AuthType Basic
AuthMySQLHost serverName
AuthMySQLUser user
AuthMySQLPassword password
AuthMySQLDB userDataBase
AuthMySQLUserTable userTable
AuthMySQLNameField userName
AuthMySQLPasswordField userPassword

require valid-user

This works great and ties in perfectly however, I would really prefer not to have the user name and password and even the user database structure present to users in the htaccess file. I tried moving them to the httpd.conf file (just a shot in the dark) and on configtest was told that those are not allowed in it. The README file mentions something about a config file that these can be put but I can't find one to save my life and there are no instructions about creating one. We have a lot of people that will have permissions to view an htaccess file on the server, however, they should not have any kind of permissions to the database, especially the user database, and by viewing the htaccess file they can gain these permissions. Any ideas? TIA!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql-server4.1 and mod php-mysql conflig kernelvn *BSD 0 06-18-2005 11:52 AM
quake 2 ctf mod configuration problem jelgavchik Linux - Software 0 04-04-2005 09:03 AM
mysql mod for php alex2814 Linux - Software 0 08-16-2004 07:41 AM
Mod_Access and Mod Auth pazvant Linux - Security 1 06-24-2004 05:52 PM
auth mod sql kaboom Linux - Software 0 12-15-2003 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration