473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Password for backend

I have developed a program that has the backend on a server and
multiple users have the front end at their individual computers.

I know how to set a password on the backend. How can I implement the
requirement for entry of this password for each user as they sign in on
the front end?

Thank you for the help in advance

Mike

Nov 13 '05 #1
6 2725
Hi Mike,

the answer to the question depends on what you are using on the backend
to store the data.

1. MS-access, then using the access based security with the program
"workgroup administrator' wrkadmin.exe is the best way to setup a login
system, access using a system where by default everyone is logged in
using a user of Admin, when setting a password for this account then
everyone is asked for a username and password. This system is not
strong security, and if all you are trying to do is identify them e.g.
who wrote this record etc, then you can use the WinAPI to get the
currently logged in username.

2. SQL you can setup logins on the SQL server so that server based
security is used, this is far stronger than access based security.

If you need more details on access security just post here.

Hope it helps

Alex

Nov 13 '05 #2
"Alex - IntraLAN" <al**@intralan.co.uk> wrote in message news:<11**********************@f14g2000cwb.googleg roups.com>...
Hi Mike,

the answer to the question depends on what you are using on the backend
to store the data.

None Alex.

I just want to stop the user from editing the tables by opening the
BackEnd.mdb, which is a ms access 2000 db.

The only way to use the tables is by opening the FrontEnd.mdb.

I only need to set a password for the database itself (BackEnd.mdb)
and open it
only from the mainform in the FrontEnd.mdb

I use DAO and have tried ADO examples as well (given in the developer
edition and the KB-articles on www.microsoft.com), but nothing seems
to work. So I wonder...

I use win 2000 on one disk and win 98 on another. Both refuses to
accept the simple password : "1234567890aha" as a test.

They claim: "Invalid password".

Now I've opened the BackEnd.mdb in exclusive mode and I've set the
password as written.

I've checked that DAO reference is the first (doesn't use ADO so far)
in the reference box.

Still...

I can report, though, that the sun has returned in Northern Norway,
and it feels good!

Me.Name
Nov 13 '05 #3
Hi Geir,

Are you linking your back-end and front-end with the linked table
options in the front end, because if so then you should only be asked
for the database password when doing the linking process from that
point onward the front-end will store the database password in itself
so that you won't be asked to enter it again. The following is an MS
doc for opening via automation, but is sounds like we have gone further
than that. If you have linked all the table from the back-end into the
front end you should not have to worry about the password as your code
with reference the tables as if they are local to the database. Try an
easy password like 'day' just for testing.

http://support.microsoft.com/kb/235422
Hope that helps a bit

Regards

Alex

Nov 13 '05 #4
Hi!

I'll try your suggestion and see how it work.

Thanks for answering!

Me.Name
Nov 13 '05 #5
Hi Alex!

It works!

However, I had to put the calling of the code in the pop-up form,
displays for 1250 ms, in order to avoid access 2000 load a new
database window each time I opened, say...frmCustomer or another form.

Now it works very well.

Thanks again!

Me.Name
Nov 13 '05 #6


I have solved the problem of backend password.

1. Go to backend - open it exclusively and give it a password.

2. I use .connect and link to each table in the backend. Within this
connect link, you can provide the password at the time the link is made
using ";PWD = Yourpassword". You can then use the tables in the backend,
even though they are password protected.

3.You can also open front end exclusively and give it a different
password if you wish to protect front end.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sigurd Bruteig | last post by:
Hi! I have a passwordprotected backend. I just realised that you can download a cracking application that can crack a password with up to 18 signs. I have tryed it and it works. My question is: is...
4
by: Chris | last post by:
I have a frontend that has some tables which are linked to a backend. Now I want to make the backend password protected and when I try to run it password protected I can't open it. In the first...
1
by: Chris | last post by:
I have a frontend that has some tables which are linked to a backend. Now I want to make the backend password protected and when I try to run it password protected I can't open it. In the first...
3
by: Chris | last post by:
I have a frontend that has some tables which are linked to a backend. Now I want to make the backend password protected and when I try to run it password protected I can't open it. In the first...
3
by: Tony | last post by:
G'day, With a (Access 2003) database that is split (frontend application and backend datatables) how can I 'pass' a password from the frontend that allows access to the datatables which are...
4
by: Geir Baardsen | last post by:
Hi! 1. I wonder if there is a possibility to open a BackEnd.Db from the opening form, the form e.g.: frmOrders, in the FrontEnd.Db, when the BackEnd.Db is password protected? 2. Do I need to do...
5
by: Geir Baardsen | last post by:
Hi! I wonder if anybody can help with the following: I need to password-protect tables in MyBackEnd.DB, which is placed in the same folder as the MyFrontEnd.DB Now I've tried the KB_209953...
1
by: Matthew | last post by:
I have a backend on the server, each user has a front end on their Local drives. I am about to give the backend a database password. I do not have MS security on the database and at the moment...
6
by: Frank L | last post by:
I have some accounting and tax receipting type applications, developed for charitable and non profit groups, that are exhibiting strange behaviour on a few of the 30 or 40 user machines. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.