473,657 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4699
"jodyblau" <jo******@gmail .com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.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\Anthon y\Application
Data\Microsoft\ Access\System.m dw
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
5469
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 closed and the same page is opened. I turned off all caching but still it does cache (as a refresh doen not promt again). How can I force the page to prompt for a password at every refresh ?
11
4857
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 reports that the users need, which could be in html, php, asp, jsp, whatever. Now I am trying to eliminate the login window entirely. In an html request, the client (firefox, ie, etc) sends the clients hostname, IP, a bunch of other stuff, but...
6
3788
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 username/password to the page. I have read something about cookies and sending username/password through the header. With the new Windows Update 832894 it is no longer possible to use
3
4286
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 though I've got authentication="Windows" in web.config. On another machine on the network, I don't get the Login box, but I just get a 401.2 error (you are not authorised to view this page).
2
1490
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 forms-protected directory. I am inferring this from the fact that the last entry in the IIS log is the ASPX file in that directory. The really odd thing is that I have another ASP.NET application on the same server with the same exact setup (at least as...
1
3265
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 system prompts them to login (User name and Password). If they view it in PDF format they do not get the login prompt. I do not get the login prompt at all. This problem occurs with users on the Internet and our Intranet. I checked the web site and...
1
9792
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
5806
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 module that can do what I want? -- mvh Björn
2
1781
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 appears. Regardless of what login the user enters into this, it does not accept it and the user is locked out of the system. Our network team and myself have been unable to find out why this is occurring, has anyone else had a similiar problem?...
0
8420
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8516
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7353
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.