We are not really that worried about the security as the
info it not that sensitive. On the other 2 databases the
1, its for our staffs trainging details and will be
accessed by our HR Manager, and maybe our induction
supervisor.
How can i program it to look for the password in a txt
box on another form?
This is what i currently have for my connection:
Private Function ConnectStringBuild() As String
Dim strConn As String
strConn &= "Data Source=ServerName;"
strConn &= "Initial Catalog=Train;"
strConn &= "User ID=User;"
strConn &= "Password=Password"
Return strConn
End Function
Any help would be great. Thanks.
-----Original Message-----
"Trev" <an*******@discussions.microsoft.com> wrote...
I was think i can just have a funtion so that when they
click on the button for the database i want password
protected a box pops up?
Hi... Network security is a large topic.
You can certainly implement a pop-up form easily and
typically the routinewould validate against a table in your database. You
usually want to makecertain that the user can't get to the database some
other way (likeclicking on a folder) and discover the password that way.
But... I was going to suggest one small modification.
Rather than promptwhen a user clicks on the one that "requires" a
password... you might wantto require everybody to log in (it can be a simple
procedure) to the app.That way the database that shouldn't be accessed by most
people wouldn'teven appear on the form.
If they are unaware of it's existance they won't spend
time trying to get toit.
Tom
.