Re: Getting users names and restricting Internet access for Users

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you are using Microsoft ISA Server for your proxy, it already does
this "timed" internet access.

To access AD information for Csharp, look at the following link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp

the classes to access AD information can be located in
System.DirectoryServices.

hope this helps!

Sean

Chakkaradeep wrote:
Hi Sean,

Sorry to be not clear.

I want to retrieve the Active Directory Users in my system and list them in
my GUI.I saw System.Windows.Forms.SystemInformation.UserName where I can
retrieve the currently logged in User. I want to retrieve all Active
Directory Users in my Domain.

And regarding Internet Access, whichever Users I select through GUI, they
should be restricted from browsing.Users are already connected to Internet
via Proxy. I am writing an ISP software for my Firm, so , whichever Users
have crossed the Internet Usage Time for the day/month should be
disconnected. So, am looking for a way to handle it via program wherein the
User will be checked and restricted to the Internet.

Hope am clear.

Thanks for the reply.

Regards,
C.C.Chakkaradeep

"Sean Chambers" wrote:

I'm sorry, but this question is so vague I'm not even going to attempt
to answer.

1. What type of "User Names" system are you using? Active Directory?

2. If you are using Microsoft/Active Directory you can restrict
internet access via AD, or even better, use a proxy server and block
them there.

Sounds like you are trying to re-invent the wheel. but without more
details its hard to say.

.



Relevant Pages

  • 0xc0040017 FWX_E_TCP_NOT_SYN_PACKET_DROPPED bei 2 Servern von 6
    ... Server Windows 2008 Std ML350 mit installiertem Hyper-V und entsprechenden virtuellen Maschinen. ... Log Time Client IP Destination IP Destination Port Protocol Action Rule Client Username Source Network Destination Network HTTP Method URL Error Information HTTP Status Code Original Client IP Client Agent Authenticated Client Service Server Name Referring Server Destination Host Name Transport MIME Type Object Source Source Proxy Destination Proxy Bidirectional Client Host Name Filter Information Network Interface Raw IP Header Raw Payload GMT Log Time Source Port Processing Time Bytes Sent Bytes Received Result Code Cache Information Log Record Type Authentication Server ... Unrestricted Internet access anonymous Internal External HEAD ...
    (microsoft.public.de.german.isaserver)
  • Re: Other services through proxy...
    ... The only thing the Mac and Linux machines won't do is automatically authenticate the user *after* the proxy is choosen because that require Windows Integrated Authentication which thos OS's cannot do. ... But if a client finds the proxy through the wpad config file and gets http internet access, does the client by this have direct internet access to *any* service after that or does he/she need to confirure every p2p, ftp and IM software in use to use the isa proxy as well...? ... Is there a way to NOT have ISA prompt non-domain users to login and by this force users to log on to the domain *before* getting internet access...? ...
    (microsoft.public.isa)
  • Re: Restricting Internet use by User Login
    ... etc a lot have used the trick of configuring proxy settings for IE ... > so I can limit what Internet access certain users have? ...
    (microsoft.public.win2000.security)
  • Re: Windows Update v5 issues and workaround
    ... Client is a property management company providing shared internet access to ... The decision to use the Winsock proxy service vice the ... Web proxy service predates my involvement in administering this environment ...
    (microsoft.public.isa)
  • Re: How to restrict Internet access for certain PCs to certain web sites?
    ... All other Internet access I ... >>> server somewhere so that I do not need to configure each PC? ... >> You will to have two proxy servers, like I have on my network. ... >> is unrestricted, and is filterd, and does not require authentication, and ...
    (comp.security.firewalls)