Login on application using database name and password
DollongoAug 10 2007 — edited Aug 10 2007Dear all,
I have developed an application using form and report 6i. I am using localnaming. In the application shortcut, i have hard coded database username and password and have given the path of the bin.
Target: C:\orant\BIN\ifrun60.EXE userid=steved/steved@development module=login.fmx
(database username and password is steved).
When a user starts this application, the username i have hardcoded (steved) connects to the database and the application opens login form for a user to logon to the application. User passes username and password and get access to the system. The second username and password are controlled by application. In the application under file menu, the user can change its password anytime. Change of password does not have effect on database password for that specific user.
Please anyone to assist me. I dont want to hard code database username and password because as i have done because it is very risk if this goes to a user who has knowledge of forms 6i. Its provides no security if a user logon to the machine whose database name hard coded is not his/her.
Please assist me. I want a user to start my application, login to the application using database name and password. Whenever a user changes his/her password, it should go and change the database password of that user. This will provide a better security to my application
Thanks in advance