Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Block access to specific URL addresses
Forum Updated to NodeBB v4.3 + New Features

Block access to specific URL addresses

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jobikjohn
    wrote on last edited by
    #1

    I want to block access to specific URL addresses. Is there any way to do it in QT?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to devnet.

      Block where? In your app? In some browser? On your system? On the network? The answer can only be as specific as the question.

      Btw It's Qt, QT is usually Apple QuickTime.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jobikjohn
        wrote on last edited by
        #3

        I want to block in the system. Please give me a solution.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Which system? :)

          This is not really a Qt question. Usually it's a task of a firewall.
          On some systems you might also insert something like
          @127.0.0.1 site.to.block.com @ or
          @1.2.3.4 localhost #where 1.2.3.4 is the ip of the site to block @
          in the "hosts file":http://en.wikipedia.org/wiki/Hosts_(file) to loop-back any requests for that site and effectively block it.
          For editing this file with Qt you can use QFile, but be aware that your app will need administrative rights to do that.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved