If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Need some serious advices on login/auth.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-06, 19:02
MaxJ MaxJ is offline
Registered User
 
Join Date: Sep 2006
Posts: 1
Need some serious advices on login/auth.

Hello everyone! I really need some advices on this...

What I'm trying (hopefully it won't be a try for too long) to do is :
A MySQL database running on a distant server containing all the data of the company. Some web pages mainly showing queries to the customers. AND a software allowing employees to create, modify or delete information in the database.

What is working :
The database. The web pages. The software.

My problem :
The authentification on the software side!

Requirements to meet :
The user must only have to enter his password.
That would be a lot better if it was possible not to play with adding/deleting mysql users all the time.

3 ways I thought :
1. By MySQL login... Each employee would need his MySQL username and password, I don't like this too much... because they can't only use the password (or else the software should know the passwords and corresponding user names.. what is obviously not a good idea).
2. By Employee table login... The software has one username/password and allows only people recognized by the database to access and play with the information. I think this is a nice idea.. but risked if someone gets the username and the password... I like this idea because it allows the user to only enter his password and does only require from me to add the employee in the Employee table (no need for mysql user ... and anything else).
3. Well.. thought there was maybe something to do with the server firewall and MAC addresses or something, but that's becoming complicated... forget it.. if it's not THE best idea.

Well you see.. the 2nd idea is what looks good to me, but there's still a little risk...

Please let me know how do you proceed or how should I proceed according to you.

Many thanks in advance.. I'm waiting for that problem to be solved before I can continue my work!

Max J.
Reply With Quote
  #2 (permalink)  
Old 09-29-06, 06:50
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
whats the client / front end? if its a windows front end then you may be able to get access to the network logon

One of the shortcomings of the MySQL security model that I have seen so far is tha lack of the security group concept

In any event I dont think that there will ever be a way round the requiremnt to add a user and password (even if blank) to the db. you may be able to circumvent some of the user requriements if you can use LDAP
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On