Safari web settings on your iPhone, iPad, or iPod touch

By default, Safari shows certain web features such as movies, animation, and web applications. You might want to turn off some of these features to help protect your privacy and your device from possible security risks on the Internet.

To change your security settings, tap Settings > Safari. To learn more about Safari in iOS, see the user manual.

Turn on Anti-phishing

To turn Anti-phishing on, tap Settings > Safari and turn on Fraudulent Website Warning. When it's on, the Anti-phishing feature in Safari will show an alert if the site you're visiting is a suspected phishing site. To turn it off, tap Fraudulent Website Warning again.

Phishing is a fraudulent attempt to steal your personal information, such as passwords, account information, or user names. A fraudulent website masquerades as a legitimate one, such as a bank, financial institution, or email service provider.

Block cookies

To set whether Safari blocks cookies in iOS 8, tap Settings > Safari > Block Cookies and choose Always Allow, Allow from websites I visit, Allow from Current Websites Only, or Always Block. In iOS 7 or earlier, choose Never, From third parties and advertisers, or Always.

A cookie is a piece of data that a website puts on your device. Using cookies, the website can remember you when you visit again, and the webpage can be customized for you based on information you may have provided. Some pages might not work unless you accept cookies. For instance:

  • You're unable to log in to a website or webpage using your correct username and password.
  • You see a message on a webpage that cookies are required, or that your browser's cookie functionality is turned off.
  • You try to use a feature on a website, but it doesn't work as expected.

Allow JavaScript

To change your settings, tap Settings > Safari > Advanced and turn JavaScript on or off. JavaScript lets web programmers control elements of the page. For example, a page that uses JavaScript might show the current date and time or cause a linked page to appear in a new pop-up page.

Clear information from your device

To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.

To clear other stored information from Safari, tap Settings > Safari > Advanced > Website Data > Remove All Website Data.

To visit sites without leaving a history, turn on private browsing.

Last Modified: