keepcalculator

06 Numbers and Powers

Stop Websites Accessing Device? How to Block It

Card No. 06·68433 · Updated · Standard formula, shown below

Websites can access your device’s camera, microphone, location, and files through browser permissions, but you can stop this by adjusting your browser and operating system settings. This guide explains how to review and revoke those permissions in the most common browsers (Chrome, Firefox, Safari, Edge) and on Windows, macOS, Android, and iOS, so you can control what sites can see and use.

Why Websites Ask for Device Access

Modern browsers use the Permissions API to let websites request access to hardware and sensitive data. This is how video call sites use your camera, map sites use your location, and cloud storage sites let you upload files. The requests are usually triggered by a user action, like clicking a button, but some sites ask on page load. The browser then shows a prompt asking you to allow or block the request. If you click “Allow,” the site gets that permission until you revoke it or the permission expires (some browsers auto-reset permissions after a set time).

Permissions are stored per-site, so blocking one site does not affect another. You can see which sites have which permissions in your browser’s settings, and you can revoke them at any time. Operating systems also have their own permission layers that can override or supplement browser permissions.

How to Check and Revoke Permissions in Desktop Browsers

Each browser has a similar but slightly different path. Here are the exact steps for the most common ones.

Google Chrome (Windows, Mac, Linux)

  1. Click the three-dot menu (top-right) and select Settings.
  2. Go to Privacy and security → Site settings.
  3. You’ll see a list of permission types (Camera, Microphone, Location, Notifications, etc.). Click any one to see which sites are allowed or blocked.
  4. To remove a site’s access, click the trash icon next to it, or click the site name and change the permission to “Block” or “Ask.”
  5. To block all sites from a specific permission, toggle the “Don’t allow sites to see your location” (or similar) option at the top of that permission’s page.

Mozilla Firefox

  1. Click the hamburger menu (top-right) and select Settings.
  2. Go to Privacy & Security and scroll down to Permissions.
  3. Click the Settings button next to each permission (e.g., Location, Camera, Microphone).
  4. You’ll see a list of sites that have requested access. Select a site and click Remove Website, or use the dropdown to change its status.
  5. To block all requests, uncheck the box that says “Block new requests asking to access your location” (or similar).

Safari (macOS)

  1. Open Safari and go to Safari → Settings (or Preferences).
  2. Click the Websites tab.
  3. On the left, you’ll see a list of permissions (Camera, Microphone, Location, etc.). Click one to see which sites have access.
  4. Select a site and change its setting to “Ask,” “Deny,” or “Allow.” You can also set a default for all other sites at the bottom.

Microsoft Edge

  1. Click the three-dot menu (top-right) and select Settings.
  2. Go to Cookies and site permissions.
  3. Click a permission type (e.g., Camera, Microphone, Location).
  4. Review the list of allowed sites and remove or block as needed.

How to Check and Revoke Permissions on Mobile Browsers

Mobile browsers have similar settings, but the exact path varies by browser and OS.

Chrome on Android

  1. Open Chrome, tap the three-dot menu, and go to Settings.
  2. Tap Site settings.
  3. Tap a permission type (e.g., Camera, Microphone, Location).
  4. You’ll see a list of sites that have access. Tap a site to change its permission, or use the “Add site” button to block a specific site.

Safari on iPhone/iPad

  1. Go to Settings → Safari.
  2. Scroll down to Settings for Websites.
  3. Tap a permission type (e.g., Camera, Microphone, Location).
  4. You’ll see a list of sites that have requested access. Tap a site to change its setting, or set a default for all sites at the bottom.

On iOS, you can also go to Settings → Privacy & Security and revoke camera/microphone access for the browser app itself, which will block all websites from using those hardware features.

Operating System Level Permissions

Even if a website has permission in the browser, the operating system can still block access. For example, on Windows, you can go to Settings → Privacy & security → Camera (or Microphone, Location) and toggle “Let apps access your camera” off. This will block all apps, including browsers, from using the camera. On macOS, go to System Settings → Privacy & Security and uncheck the browser from Camera, Microphone, or Location. On Android, go to Settings → Apps → Chrome → Permissions and toggle off each permission. On iOS, go to Settings → Privacy & Security and tap Camera, Microphone, or Location, then toggle off the browser app.

Note that if you block a permission at the OS level, the website may not even see the permission request—it will just get a generic error. This is a stronger block than browser-level settings.

Common Problems and Misconceptions

“Why does a site still have access after I cleared my browser history?” Clearing history does not always clear site permissions. You need to clear site data or revoke permissions separately, usually in the same settings page.

“I blocked a site, but it still asks again.” Some sites use a fallback that triggers a new permission request if the user has not explicitly blocked it. In Chrome, you can set a site to “Block” to prevent future prompts. In Firefox, uncheck the “block new requests” box to stop all prompts.

“Does incognito/private mode protect me?” Incognito mode does not automatically block permissions. Sites you allow in a private session will still get access for that session. You still need to block them explicitly.

“Can a website access my device without asking?” No, browsers require a user gesture (like a click) to show a permission prompt. However, some older or malicious sites might use a pop-under or iframe to trick you into clicking allow. Always read the prompt carefully.

How to Choose What to Block

You don’t need to block everything, but a good rule is to block anything you don’t need. For example:

  • Camera and Microphone: Only allow on sites you actually use for video calls or recording (e.g., Zoom, Meet). Block on all others.
  • Location: Only allow on sites that need it for maps or local services. Block on news sites, social media, or shopping sites.
  • Notifications: Block by default unless a site genuinely needs to send you alerts (e.g., email or messaging).
  • File access: Only allow on sites you trust with uploads (e.g., Google Drive, Dropbox).

You can also use the “Ask” default, which forces every site to request permission each time. This is the most private option but can be annoying.

Frequently Asked Questions

How do I stop a website from accessing my camera and microphone?

In your browser’s site settings, go to Camera and Microphone, and either block the specific site or block all sites. On Windows/macOS, you can also revoke the browser’s access at the OS level for a blanket block.

Does clearing cookies revoke permissions?

Not always. Cookies and permissions are stored separately. To revoke permissions, you need to go to the site settings and remove the site, or clear site data (which includes both cookies and permissions).

Can a website see my IP address even if I block location?

Yes. Blocking location only prevents the site from using GPS or Wi-Fi triangulation. Your IP address is still visible to the site, which can approximate your location. To hide your IP, you need a VPN or proxy.

Why does a website ask for permission every time I visit?

If you have set the permission to “Ask” (or if the site is in a private session), the browser will prompt each time. To stop the prompts, set the permission to “Allow” or “Block” for that site.

Is it safe to click “Allow” on a permission request?

Only if you trust the site and you need that feature. If a random site asks for your camera or location, it’s safer to click “Block.” You can always change your mind later in settings.

How do I reset all permissions to default?

In most browsers, you can go to site settings and click “Reset permissions” or “Clear all site data.” This will remove all permissions and cookies, so you’ll have to log in again on sites.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →