S
straybullet
I have set up a userID and password on the ACCESS database, which if I
click on the MDB file works fine.
However, I can connect and use the database from a Java Application
without any password or userID set
eg
driverName = props.getProperty("driverName");
dbUrl = props.getProperty("dbUrl");
userId = props.getProperty("");
passWord = props.getProperty("");
try{
// load the driver
Class.forName(driverName);
// get the connection
musicConn = DriverManager.getConnection( dbUrl, userId, passWord);
etc etc...
Can anyone tell me what else I need to do to force the Java
application conform to the restrictions that I have set.
click on the MDB file works fine.
However, I can connect and use the database from a Java Application
without any password or userID set
eg
driverName = props.getProperty("driverName");
dbUrl = props.getProperty("dbUrl");
userId = props.getProperty("");
passWord = props.getProperty("");
try{
// load the driver
Class.forName(driverName);
// get the connection
musicConn = DriverManager.getConnection( dbUrl, userId, passWord);
etc etc...
Can anyone tell me what else I need to do to force the Java
application conform to the restrictions that I have set.