Solved

Getting the user's windows Id for a web page

Posted on 2013-05-24
2
267 Views
Last Modified: 2013-11-19
Hello,
Here is my problem.  I have .net web project that is used both internally and externally.  I'm building a page that is only going to be available internally on the site.  When the user goes to that page, I want to capture their windows login id.  I'm going to use IP address to restrict access to the page.  Now the site does have a login screen (and unfortnately I've inherited) but all the internal users use the same login access because a predicessor didn't want to have to handle granting individual accesses for the internal people.
So how can I (for this single page) get the user's Id but leave the other pages in the site not care about the login credentials?
Does this make sense?
And please don't answer with "force everyone to use individual logins", I tried to get that to happen and was shot down.
One last requirement, the .Net code (if applicable) that gets posted, please be in vb.net (not C#).
Thanks.
0
Comment
Question by:Kakoroat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 200 total points
ID: 39194177
You can't get any more information from the user than what the user presents to you.
since they all use the same logon -- you can't get anymore user information, but you do get the users ip address you can give internal users access i.e. their ip is in the range of 192.168.0.0 -> 192.168.254.254 but external users you're out of  luck for company users getting access to that page.
0
 

Author Closing Comment

by:Kakoroat
ID: 39343224
Went a different route, so I'm killing the question.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question