
When Google Chrome made its debut over a decade ago, it wasn’t regarded all too well in terms of security. You'd never knew when an extension would go rogue and hijack your homepage. But that has now changed. Various protective measures such as harmful software scanning and isolated site processes mean that it’s quite possibly one of the most secure browsers around.
Get more done with the new Google Chrome. A more simple, secure, and faster web browser than ever, with Google’s smarts built-in. Download now. Feb 22, 2019 Remove Mega Media Start from Chrome. Reset Chrome will reset your start page, new tab page, search provider, and other web-browser settings hijacked by Mega Media Start browser hijacker. All unwanted and malicious plugins will also be deleted from the web-browser. However, your saved passwords and bookmarks will not be changed, deleted or cleared.
Chrome also plays an active role in protecting your system from malware. By default, it blocks files that it deems as unsafe from downloading onto your computer. Sadly, that also means that you won’t be able to download files from certain sites that you know are trustworthy but Chrome thinks otherwise.
And then there’s also the whole deal with Chrome blocking automatic downloads that originate from the same source. That's very annoying at times. While it’s not a great idea to have these security features turned off, let’s throw caution to the wind and look at how you can do just that.
Also on Guiding Tech
11 Hidden Google Chrome Features for Power Users
Read MoreUnblock Potentially Unsafe Downloads
Chrome protects you from known phishing sites and malicious downloads using an integrated feature called Safe Browsing. Turning this feature off stops the browser from blocking downloads that it would otherwise deem unsafe.
Since you are susceptible to online threats without Safe Browsing, only consider turning off the feature while unblocking any restricted downloads.
Step 1: Open the Chrome menu (click three-dot icon on upper-right corner), and then click Settings.
Step 2: Scroll down on the Settings page, and then click Advanced.
Step 3: Underneath the Privacy & Security section, turn off the switch next to Safe Browsing. And you are good to go.
Chrome will not block any downloads after you made the changes. Also, it won’t warn you of potentially compromised or malicious sites that may attempt to phish for personal information or infect the browser by other means.
Security Warning: It’s imperative that you take the necessary security precautions while surfing online. Consider using a security extension so that you can stay on guard against possible threats online. Scroll down to the 'Staying Safe' section for more information.To block unsafe downloads later, head back into the Chrome Settings panel and turn on the switch next to Safe Browsing.
Unblock Automatic Downloads
On sites that perform multiple downloads consecutively (such as on file conversion sites), you may run into issues due to a built-in content restriction. That is in place to prevent websites from downloading malware automatically alongside other files.
While it's possible to remove this restriction, Chrome will still prompt you for your permission when initiating a download unless you choose to whitelist sites actively.
Step 1: On the Chrome Settings panel, click Advanced, and then click the Content Settings option under Privacy and Security.
Step 2: Scroll down on the Content Settings screen, and then click Automatic Downloads.
Step 3: Turn on the switch next to ‘Do not allow any site to download multiple files automatically.’
It should then read as ‘Ask when a site tries to download files automatically after the first file (recommended).’
Step 4: Chrome should now let sites perform automatic downloads. However, you will still be asked for permission whenever a site begins to initiate a download.
If that becomes a hassle, click the Add button next to Allow, and then add the URL of the site that you wish to whitelist.
Just like with Safe Browsing turned off, only allow automatic downloads on sites that you completely trust.
Also on Guiding Tech
#security
Click here to see our security articles pageStaying Safe
Removing the restriction on unsafe downloads isn’t the smartest of choices considering the amount of malware going rampant daily. If you still want to stay secure with Safe Browsing turned off, and automatic downloads enabled indefinitely, consider using a security extension or a malware removal utility. Let's look at a few.
Avast Online Security
With over 10 million users and a 4.4-star rating on the Chrome Web Store, you can’t go wrong with Avast Online Security. After adding the extension to Chrome, you can easily check whether a site is compromised or not with a click to the Avast icon next to the URL bar. And you can also contribute to the Avast community with your feedback on what you think about a particular site.
The extension also monitors search engine results, and you can find straight out of the bat if certain sites carry malicious intent. You should see a green-colored check mark on sites that are safe to visit.
Avast Online Security also provides you with access to a range of additional options such as the ability to block ads, trackers, and phishing attempts.
Avast Online SecurityMcAfee SECURE Safe Browsing
McAfee SECURE Safe Browsing is a fantastic extension to determine if a site is safe or not. A single click to the McAfee SECURE Safe Browsing icon provides a host of security metrics about malware, phishing intent, encryption, and popularity. And of course, a big green-colored banner to denote if a site is secure.
If you don't want all the extra frills associated with Avast Online Security, then McAfee SECURE Safe Browsing is the perfect alternative.
McAfee SECURE Safe BrowsingMalwarebytes
After downloading a file, it’s vital that you check it for malware before opening it. Yes, you have Windows Defender, but if you prefer a dedicated, simple, and efficient malware removal tool instead, install Malwarebytes. It’s free and works wonders for detecting malicious code in downloaded files.
Right-click a file before opening it, and then select Scan with Malwarebytes. If everything looks good on the scan results, you can then go ahead and open it usually with confidence. It's vital that you do this on files that would be otherwise be blocked with Chrome's Safe Browsing feature turned on.
Malwarebytes also offers a free 14-day trial for a Premium version with real-time web protection against malicious sites. But since you are merely looking to stay safe with Chrome's Safe Browsing and automatic downloading restrictions turned off, the free version should be more than sufficient.
Download MalwarebytesAlso on Guiding Tech
7 Tips For Privacy and Security in Google Chrome
Read MoreBe Careful!
So, that’s how you should go about circumventing Google Chrome’s restrictions on potentially unsafe or automatic downloads. Once again, employ caution once you turn off these security measures.
Usually, Windows Defender can stop a full-scale malware infection from some innocent-looking, yet malicious, executable that you ran straight after downloading.
Hence, make sure to use an extension or a malware scanner. You can never know for sure if a site or a file is safe otherwise.
Next up: Want to drill down on the basics of staying safe online? Click the link below and get yourself up-to-date.
The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.Read NextHow to Have as Safe a Browsing Experience as PossibleAlso See#chrome #malware #security
Did You Know
Windows Hello is a biometric authentication feature in Windows 10.
More in Internet and Social
Top 8 Ways to Fix Google Sheets Won't Let Me Type or Edit Error
Important: Chrome will be removing support for Chrome Apps on all platforms. Chrome browser and the Chrome Web Store will continue to support extensions. Read the announcement and learn more about migrating your app.
HTML5 introduced many storage APIs that let you store a large amount of data locally in your users' browsers. But the amount of space allocated for each app is, by default, restricted to a few megabytes. Google Chrome lets you ask for a larger storage quota, beyond the previous limit of just 5 MB.
This document introduces you to the basic concepts around the types of storage used in Chrome and describes the experimental Quota Management API, which lets you manage your storage quota. The document assumes that you are already familiar with the general concepts of client-side storage and know how to use offline APIs.
Contents
- Types of storage
- Managing your quota
- API reference
Types of storage
In Google Chrome, you can ask for three types of storage:
These storage types are described in greater detail in the following sections and compared with each other in the table below.
Temporary storage
Temporary storage is transient storage that is available to any web app. Chrome automatically gives your app temporary storage, so you do not need to request allocation.
Sharing the pool
Temporary storage is shared among all web apps running in the browser.{#It is also shared across all offline APIs, such as App Cache, IndexedDB, and File System. However, it does not include web storage APIs like Local Storage and Session Storage, which still has a limit of 5 MB per origin.#} The shared pool can be up to 1/3 of the of available disk space. Storage already used by apps is included in the calculation of the shared pool; that is to say, the calculation is based on (available storage space + storage being used by apps) * .333 .
Each app can have up to 20% of the shared pool. As an example, if the total available disk space is 60 GB, the shared pool is 20 GB, and the app can have up to 4 GB. This is calculated from 20% (up to 4 GB) of 1/3 (up to 20 GB) of the available disk space (60 GB).
Asking for more space
Although you can query for the amount of storage space available for your app and the amount of data already stored for your app, you cannot ask for more temporary storage space. If an app exceeds the allocated quota, an error is thrown.
Running out of storage
Once the storage quota for the entire pool is exceeded, the entire data stored for the least recently used host gets deleted. The browser, however, will not expunge the data in LocalStorage and SessionStorage. For data stored in other offline APIs, the browser deletes the data in whole and not in part so that app data doesn't get corrupted in unexpected ways.
As each app is limited to a maximum of 20% of the storage pool, deletion is likely only if the user is actively running more than five offline apps that are each using the maximum storage.
However, available storage space can shrink as users add more files on their hard drives. When the available disk space gets tight (Remember, the shared pool only gets half of the current available disk space), the browser deletes all the data stored for the least recently used host.
Persistent storage
Persistent storage is storage that stays in the browser unless the user expunges it. It is available only to apps that use the File System API, but will eventually be available to other offline APIs like IndexedDB and Application Cache.
An application can have a larger quota for persistent storage than temporary storage, but you must request storage using the Quota Management API and the user must grant you permission to use more space. Chrome presents an info bar that prompts the user to grant the app more local storage space.
Unlimited storage
Unlimited storage is similar to persistent storage, but it is available only to Chrome apps and extensions (.crx files). The size of unlimited storage is limited only by the availability of space in the user's hard drive. You can ask for the unlimitedStorage permission in the manifest file for an app or extension. At installation, the user is informed of permissions required by the app or extension. By proceeding with the installation, the user implicitly grants permission for all pages whose URLs are listed in the manifest.json file.
To learn more, see the respective developer guides for apps and extensions.
Comparing Storage Types
The following table describes the differences among the three types of storage.
| Temporary storage | Persistent storage | Unlimited storage | |
|---|---|---|---|
| Basic description | Transient storage that is available to any web app. It is automatic and does not need to be requested. | Permanent storage that must be requested through the Quota Management API and granted by users. | Permanent storage for Chrome extensions and apps. It is set in the manifest file and must be granted by users. |
| Availability | All web apps. | All web apps. | Unique to Chrome extensions as well as hosted and installed web apps. |
| Permission | None. You can use it without explicitly requesting it. | You have to request more storage using the Quota Management API. | You can ask for the unlimitedStorage permission in the manifest file for the app or extension. |
| User experience at first use | Invisible to the user. The app just runs. | Chrome displays an info bar that prompts the user to either accept or decline the storage request. But if the amount of quota you request is actually less than the app's current allocation, no prompt is shown. The larger quota is kept. | At installation, the user is informed of permissions required by the app or extension. By proceeding with the installation, the user implicitly grants permission for all pages whose URLs are listed in the manifest.json file for app or extension. |
| User experience at subsequent requests for increased storage | Not applicable. You cannot ask for more temporary storage. | Elerts event alert app for mac. Chrome prompts the user again. | Chrome does not prompt the user after installation, regardless of the requests for increased quota by the app or extension. |
| Persistence of data | Transient. The browser can delete the data. | Persistent. The browser doesn't delete the data unless the user instructs it to. Data is available in subsequent accesses. Do not assume that the data is permanent, because the user can delete it. | Same as persistent storage. |
| Default storage space | Up to 20% of the shared pool. | 0 MB. You have to explicitly ask for a specific storage space. | 0 MB. You have to explicitly ask for If you do not specify your storage requirements, Chrome allocates storage to the app from the shared pool of temporary storage. |
| Maximum storage space | Up to 20% of the shared pool. | As large as the available space on the hard drive. It has no fixed pool of storage. | As large as the available space on the hard drive. |
| Recommended use case | Caching. | Apps that work offline or have a large number of assets. | Apps that were designed to run in Google Chrome. |
| APIs that can use it | Offline APIs
Note: Web storage APIs like LocalStorage and SessionStorage remain fixed at 5 MB. {% endcomment %} | File System API | Offline APIs
Note: Web storage APIs like LocalStorage and SessionStorage remain fixed at 5 MB. {% endcomment %} |
Managing your quota
With the Quota Management API, which was introduced in Chrome 13, you can do the following:
The API is implemented with the global object window.webkitStorageInfo.
For the reference documentation, see the next section.
Querying storage usage and availability
To query the storage size that is being used and the available space left for the host, call queryUsageAndQuota() with the following:
- Type of storage you want to check
- Success callback
The usage reported by the API might not match with the actual size of the user data, as each storage might need some extra bytes to store its metadata. Also, status updates can lag, resulting in the API not reflecting the most recent storage status.
The following code snippet shows how you can ask about storage space:
If you want to ask for the status of persistent storage, simply replace webkitStorageInfo.TEMPORARY with webkitStorageInfo.PERSISTENT. The enum is also in the window object (global namespace), so you can also use window.PERSISTENT and window.TEMPORARY.
Asking for more storage
You don't need to ask for more temporary storage as the allocation is automatic, and you can't get beyond the maximum limit (as described in the table).
For persistent storage for File System API, the default quota is 0, so you need to explicitly request storage for your application. Call requestQuota() with the following:
- Type of storage
- Size
- Success callback
Depending on what you ask for, the following happens:
- If you ask for a larger quota, the browser presents an info bar to the user and prompts them to either grant or deny permission for increased quota. In some cases, the request might be silently rejected, and the current quota or smaller quota is returned.
- If the amount of quota you request is less than the app's current allocation, no prompt is shown.
- If you ask for more storage than what is allowed, you get an error (
QUOTA_EXCEEDED_ERR). - If you call
requestQuota()again after the user has already granted permission, nothing happens. So don't bother calling the method again.
The following shows how you can ask for more storage space:
Resetting quota for testing
When you are testing storage in your app, you might want to clear the stored data so that you can test quota management afresh in your app. To do so:
- Enter
chrome://settings/cookiesin the omnibox (the address bar). - Search for your app.
- Select your app.
- Click the X on the right side of the highlighted selection.
API reference
This section documents the methods of the Quota Management API.
Constants
The following are webkitStorageInfo constants, which indicate the type of storage.
| Constant | Value | Description |
|---|---|---|
TEMPORARY | 0 | Temporary storage. |
PERSISTENT | 1 | Persistent storage. |
Method overview
void queryUsageAndQuota (in unsigned short storageType, StorageInfoUsageCallback successCallback, in optional StorageInfoErrorCallback errorCallback) |
void requestQuota (in unsigned short storageType, unsigned long long newQuotaInBytes, optional StorageInfoQuotaCallback successCallback, optional StorageInfoErrorCallback errorCallback) |
Methods
queryUsageAndQuota
Check the storage size that is being used and the available space left for the host.
- The current number of bytes the app is using.
- The number of bytes left in the quota.
- errorCallback
- Optional error callback.
requestQuota
Ask for more storage. The browser presents an info bar to prompt user to grant or deny the app the permission to have more storage.
Parameters
- newQuotaInBytes
- The amount of bytes you want in your storage quota.
- successCallback
- Optional callback that passes the amount of bytes granted.
- errorCallback
- Optional error callback.
Future development
The plan is to put all HTML5 offline storage APIs—including IndexedDB, Application Cache, File System,{# LocalStorage, SessionStorage,#} and other APIs that might be specified—under the Quota Management API. You will be able to manage all storage allocation with it.