Getting users names and restricting Internet access for Users

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

How to retrieve Users Names and also restrict internet access to a specific
users using C# ?

Thanks.

Regards,
C.C.Chakkaradeep
 
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.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top