Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting the user's windows Id for a web page

Posted on 2013-05-24
2
Medium Priority
?
271 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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 400 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

670 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