locked
block access to some website .net RRS feed

  • Question

  • Hello,

    i need to block access to some website from .net framework, how do i do it without manipulating the hostfile?

    thanks


    Do you know we will see our dead loved one again? John 5:25
    Monday, December 12, 2011 3:08 PM

Answers

  • You can edit the registry but you need Administrator privileges for certain registry entries, this can block access to websites, just look up the same registry values in bing/google or any search engine where the values to block websites with GROUP POLICY are located.  These are usually set automatically by joining a domain & set by group policy in this manner over the network, so each login ensures all of the settings GROUP POLICY is meant to enforce are in place, but they work just the same modifying the values without a domain.

    NOTE: These can easily be gotten around even when on a domain & severe restrictions, without administrator as well, you would only be able to mess up or block 1 users access at a time though unless you have administrator because the values that would affect the whole computer are changes that can only be used when the program is ran as an administrator.

    • Marked as answer by Mark Liu-lxf Tuesday, December 20, 2011 3:26 AM
    Monday, December 12, 2011 7:25 PM

All replies

  • You can't.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me
    Monday, December 12, 2011 3:15 PM
  • You can edit the registry but you need Administrator privileges for certain registry entries, this can block access to websites, just look up the same registry values in bing/google or any search engine where the values to block websites with GROUP POLICY are located.  These are usually set automatically by joining a domain & set by group policy in this manner over the network, so each login ensures all of the settings GROUP POLICY is meant to enforce are in place, but they work just the same modifying the values without a domain.

    NOTE: These can easily be gotten around even when on a domain & severe restrictions, without administrator as well, you would only be able to mess up or block 1 users access at a time though unless you have administrator because the values that would affect the whole computer are changes that can only be used when the program is ran as an administrator.

    • Marked as answer by Mark Liu-lxf Tuesday, December 20, 2011 3:26 AM
    Monday, December 12, 2011 7:25 PM