473,800 Members | 2,578 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Content Based On User Logon Informaion.

76 New Member
Environment:
Windows 2000 Server
IIS 5.0
Access 2003

IIS is set up for basic authentication. This means I can set rights for logged in users using NTFS file permissions. This all works well for simple protection of a few pages. I have several web pages that allow employees from different departments to enter order statuses, deliveries, schedules, etc. The web pages were developed using Access's data access pages. I've done very little with ASP, but it is installed on the Server. Also security is not a big deal here because this is all done on inside and MaBell handles our firewalls.

My next project is to create an ordering system where employees can put in orders to another manufacturing department. This is all a bit more advanced that what I've done so far.
The new Access DB will have a users table. It will have fields for their name, phone number, and a field that is the same as their login user name.
I need to match the user name they login with to the user name in the table so I can deliver content based on the users needs. Once I get the windows authenticated user name matched to a field in a table I can move quickly from there I think.

Thanks,
James
Feb 5 '08 #1
3 2069
kenobewan
4,871 Recognized Expert Specialist
This article may help:
How To Configure IIS 5.0 Web Site Authentication in Windows 2000
Feb 6 '08 #2
kcddoorman
76 New Member
I have the IIS basic authentication working. I'm wondering how I can get a web page to realize who just logged on to it.
Say I have a user set up on the server named jdoe. When jdoe goes to a web page on the server that requires authentication he puts in his user name and password and the page comes up. I want the page that comes up to identify the user that just logged in (jdoe) and react accordingly. I'm looking for a script that will create a variable and assign the user name, jdoe, to it when the page loads. I do have logging enabled on the server, maybe the script could go to the end of the IIS log and find the user name that way? But if two or more people logged on at the same instant how would the script know which one is the right user?
Feb 6 '08 #3
kenobewan
4,871 Recognized Expert Specialist
May depend on which platform you are using, however IIS is just acting as the gatekeeper here. If you want user membership and roles you will need to use a custom database. Of course, if your users have windows NT domain or active directory accounts you would be able access this account information programmaticall y. HTH.
Feb 7 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5255
by: Jacob | last post by:
Hello All, I am trying to serve out some content via IIS that is hosted on a remote fileserver, and am unable to get the delegation working correctly. Our setup is as follows: Local LAN Windows 2000 domain (mixed-mode): MYDOMAIN (mydomain.net) Windows 2003 Server w/IIS6: WEB01 Windows 2000 Server hosting files: FILE01 Windows XP Pro client workstation: CLIENT01
3
2916
by: CJM | last post by:
I have a intranet-based system running IIS5/6. We have a secure logon feature whereby certain users can access restricted content. While most of this is ASP pages, and thus we can control that, some of the content is served directly as a PDF or plain html (automatically generated from MSOffice!). If a user discovers the location of this content, he access it directly through the browser (bypassing the menus), which rather makes a mockery...
1
1218
by: Sword | last post by:
I have an ASP.NET application that using form-based authentication. I have a logon page, the user can enter his user name and password – which stored on a remote SQL server, after click the Logon button, if both are correct, the application will redirect the user to a welcome page. It’s very simple, and works totally fine on my localhost machine, which is installed with Windows XP with SP2. But after I moved this application to my...
5
2756
by: Bruno Mendonça | last post by:
My boss asked me to build a program to create a report with logon/logoff events for all users within our windows domain. I'm using .Net to do so and decided to have a program running on the Domain Controler to listen to all new events and send them to a database. This last part I haven't worked on yet, cause I can't tell which events are relevant to write to the db and which are not. I have managed to listen to all the security log...
0
898
by: Sword | last post by:
I have an ASP.NET application that using form-based authentication. I have a logon page, the user can enter his user name and password – which stored on a remote SQL server, after click the Logon button, if both are correct, the application will redirect the user to a welcome page. It’s very simple, and works totally fine on my localhost machine, which is installed with Windows XP with SP2. But after I moved this application to my...
1
1554
by: Andres Romero | last post by:
I'm using the form-based authentication in my asp.net project, all works fine. My logon page only has the user and password controls and some images, when the user is loged in the page, is redirected to my main application web page wich contains three frames (head for user information, left for menu an the center wich shows the page selected in the left). When the session time out occurs, the three frames shows the logon.aspx, but I need...
43
3440
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
1
1232
by: =?Utf-8?B?bmF0YXNoYQ==?= | last post by:
Good morning, I'd like and realize an Intranet page, in an Active Directory domain, showing customized content based on AD logon identity of client user requesting page. Is there any documentation to start?
13
3256
JodiPhillips
by: JodiPhillips | last post by:
G'day, I have a silly and simple problem that I need some guidance with. Due to the way our network is set up, I am unable to use the group permissions for Access and have had to implement log in procedures via a log in table within the database. This works fine. I have now expanded this table to include further data about the authorised user – Power User, Team Leader, & Facilitator. Depending on the user’s status as to which one of...
0
9691
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
9551
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
10507
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...
0
10036
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9092
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...
0
6815
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.