Solved

Get and log to csv users that access a website with powershell

Posted on 2014-04-03
3
250 Views
Last Modified: 2014-04-11
I need to log and collect the users in our forest that access an internal website so that we can secure the website to only let users that are allowed to login and use the website. The website is now open to anyone. It is located on a server 2008 r2 OS. The users are all from AD.
0
Comment
Question by:hlaten
[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
3 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 39977318
Does your web site currently require authentication? If not your web server logs are only going to have IP addresses, and it could be a pain to figure out who is logged onto which system when to correlate IP addresses to users.

You can just turn off anonymous authentication on the web site. That would allow you to collect usernames in the IIS log flies.
0
 
LVL 22

Accepted Solution

by:
dan_blagut earned 500 total points
ID: 39977426
hello

first you should disable anonymous authentication, then enable (or install and enable) windows authentication
http://www.iis.net/configreference/system.webserver/security/authentication/windowsauthentication

that will not change many things for your internals users, but will deny access to all non-domain workstations.

Then the log will show the username also. (some IIS restarts are needed)
Dan
0
 

Author Closing Comment

by:hlaten
ID: 39994255
Answer led me in right direction and was excellent advice.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
A procedure for exporting installed hotfix details of remote computers using powershell
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

622 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