I'm making a program that will need to log into a mysql db. I have been told that the program could be de-compiled and that people would have access to the mysql database. So i thought possibly use a php script on the mysql machine so that it would give access to the person who logs in via the program (table users: field user,pass) and have it so that the program would then proceed to have a session based temp login on the MySQL server, or maby have it so that i have a php script that allows me to execute query via the program. Anyway i'm open to other ways as well
oh and i would like to know how to do it. sorry for got to add that at the end
Also i would perfer that they didnt have mysql logins. for each person i wish that they have a fake login stored in a database