473,387 Members | 1,585 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,387 software developers and data experts.

Not getting login prompt

I applogize for posting this a second time (I posted in the
access-multiuser group as well), but this group seems to respond more
rapidly, and I have been trying to figure this out for what seems like
forever.

I have the Access 2002 Developer's Handbook, and I am trying to learn
from the example provided in Chapter 2, but I am running into the
following problem.

I set an admin password and a username and password on the backend,
then the following things happen:
1. If I open up the frontend on the same computer as the backend, I am

prompted for the username and password. Which is what I expect and
want.
2. If I use a different computer on the network to open the frontend
(using the frontend copy on the serving computer, rather than a copy of

the frontend placed on the second computer), then I am not prompted for

a username or password (even though this is the exact same file which
prompts for password when I open it directly on the serving computer.)
When I check the list of users, it shows that I am logged on as an
Admin from the second computer, even though it didn't prompt me for the

Admin password.
3. If I put a seperate copy of the frontend on the second computer, I
am not prompted for a password, and I don't show up as a user in the
frontends on the serving computer and the second computer don't
recognize that another computer is logged on.
My Questions:
1. Can someone please explain why the second computer is not being
prompted for a username and password?
2. I thought that once I split the database into frontend and backend,

I could put a seperate copy of the frontend on each computer on the
network, rather than everyone using the same frontend off of the
server. If this is true, can someone explain how someone logged on as
admin using their copy of the frontend can view a list of all the other

users logged on to the backend using their own seperate copies of the
front end?
I would be happy to email anyone the Developer's Handbook chapter 2
example database that I am using, if that would be helpful. Or I would

be happy to receive a different example by email.
Thanks,
Jody Blau

Feb 19 '06 #1
1 4662
"jodyblau" <jo******@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I applogize for posting this a second time (I posted in the
access-multiuser group as well), but this group seems to respond more
rapidly, and I have been trying to figure this out for what seems like
forever.

I have the Access 2002 Developer's Handbook, and I am trying to learn
from the example provided in Chapter 2, but I am running into the
following problem.

I set an admin password and a username and password on the backend,
then the following things happen:
1. If I open up the frontend on the same computer as the backend, I am

prompted for the username and password. Which is what I expect and
want.
2. If I use a different computer on the network to open the frontend
(using the frontend copy on the serving computer, rather than a copy of

the frontend placed on the second computer), then I am not prompted for

a username or password (even though this is the exact same file which
prompts for password when I open it directly on the serving computer.)
When I check the list of users, it shows that I am logged on as an
Admin from the second computer, even though it didn't prompt me for the

Admin password.
3. If I put a seperate copy of the frontend on the second computer, I
am not prompted for a password, and I don't show up as a user in the
frontends on the serving computer and the second computer don't
recognize that another computer is logged on.
My Questions:
1. Can someone please explain why the second computer is not being
prompted for a username and password?
2. I thought that once I split the database into frontend and backend,

I could put a seperate copy of the frontend on each computer on the
network, rather than everyone using the same frontend off of the
server. If this is true, can someone explain how someone logged on as
admin using their copy of the frontend can view a list of all the other

users logged on to the backend using their own seperate copies of the
front end?
I would be happy to email anyone the Developer's Handbook chapter 2
example database that I am using, if that would be helpful. Or I would

be happy to receive a different example by email.
Thanks,
Jody Blau

The piece of the puzzle you are missing is the workgroup (mdw) file. I
imagine what you have done is change the password for the admin account in
your local workgroup file. In a typical Access XP installation this file
would be stored in:
C:\Documents and Settings\Anthony\Application
Data\Microsoft\Access\System.mdw
Given that the windows user is named Anthony.

If your mdb is accessed from another computer, Access will typically try to
log in using its own version of the Admin account which is almost identical
except it will not have a password set. So it tries to log in with
username="Admin" and password="" and if this is successful the user never
sees a prompt and you get logged straight in.

But isn't this a security flaw? No, it simply means you should remove all
permissions from the Admin account which you do by removing Admin from the
group Admins. There is a bit of learning to do to set up user-level
security, but certainly I would recommend that you always create a new mdw
file for each secured database you create and that you open your application
with a special shortcut which specifies the use of this file.

Feb 19 '06 #2

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

Similar topics

2
by: thenetflyer | last post by:
<!-- The following sample should authorize the user to log on the site. This works once but after refreshing the browser, it does not prompt again for login until all browser (IE 6) windows are...
11
by: Ghazan Haider | last post by:
I am posting this for the lack of a better newsgroup, and for the knowledge of people here, and because its only partially OT. We have a bunch of users with their computers at work. There are...
6
by: Magnus Jardeby | last post by:
I have a problem with basic authentication. I redirect a user from a page to another. I don't want to get the NT prompt login, I want the user to be logged in automatically. I want to send the...
3
by: Dan Nash | last post by:
Hi Any ideas on this... having moved the web app to another server, and setup all the WebApp data (disable anonymous access etc), locally my site still asks me for a Username/Password, even...
2
by: Evan Basalik | last post by:
I have an ASP.NET application which uses forms authentication. For some reason, after someone logs in, they get a Windows logon dialog whenever they try to access any ASPX files in the...
1
by: CBKowitz | last post by:
I have an intermittent problem, when viewing a crystal report. This problem only happens to some users and some report formats. When they try to view the report in Microsoft Word format the...
1
by: techBoy | last post by:
I installed MySQL4.0. No for creating a databse the help says like go to "mysql>" prompt and then enter some commands. How do I get this prompt ??
10
by: =?ISO-8859-1?Q?BJ=F6rn_Lindqvist?= | last post by:
I want to use Python to connect to a SSH account over a HTTP proxy to automate some operations. I thought paramiko would be able to do that, but it can not (it seems). Is there some other Python...
2
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a website using windows integrated security, with anonymous access turned off. The site is used to query orders from a database and when the search takes a long time, a windows login box...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.