[Chromium, Google Chrome] Security functionality

Discussion in 'other software & services' started by m00nbl00d, Jun 21, 2012.

Thread Status:
Not open for further replies.
  1. m00nbl00d

    m00nbl00d Registered Member

    Jan 4, 2009
    Hello my good folks! :D

    I got something to share with you folks. Quite sometime ago, I mentioned a command-line switch for Chromium/Chrome - --host-rules- which would allow to map whatever domain/*.domain.com to localhost (, map to specific ports, and even IP addresses.

    Moments ago, I was looking to restrict access by TLD (top level domain), such as *.com, *.net, etc. Well, guess what? --host-rules does accept TLDs! :D

    Example: "C:\Program Files\Chromium\chrome.exe" --host-rules="MAP *", EXCLUDE *.com","MAP *", EXCLUDE *.net"

    In the example above, I'm only allowing to connect to domains ending in those two TLDs. Quite useful to block certain TLDs, which are constantly seen as being serving malware, exploits...

    I hope this can serve you well!
  2. tlu

    tlu Guest

    For what it's worth, a continuously updated site with the Chrome command line switches is this one. It contains some more examples for the --host-rules switch.
Thread Status:
Not open for further replies.