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

Content Based On User Logon Informaion.

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 2029
kenobewan
4,871 Expert 4TB
This article may help:
How To Configure IIS 5.0 Web Site Authentication in Windows 2000
Feb 6 '08 #2
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 Expert 4TB
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 programmatically. HTH.
Feb 7 '08 #4

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

Similar topics

3
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...
3
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,...
1
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...
5
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...
0
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...
1
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...
43
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
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...
13
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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...

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.