Chrome Disable Web Security:
In this post, we are going to see how to disable chrome web security and also run chrome without CORS policy. This post is divided into sections, the first section talks about what is the CORS policy and why is it implemented. The risks of disabling it and more. The second talks about how to disable the Chrome Disable Web Security and How to run chrome without cors policy. So without further delay, let us start it.
What is CORS Policy and what is web security:
CORS stands for Cross-Origin Resouce Sharing. It means that one web site can access the resource from a different web site. Usually, the websites are not directly referred to as websites but they are referred to as Origins. When the resources needed for a website is not available on a single Origin but available on multiple origins the browser has to obtain the resources from multiple origins in order for the website to work as desired.
CORS policy prevents malicious websites from exploiting the sensitive information stored in a user’s computer by other websites. Since the CORS policy does not allow requests to a different origin, the malicious websites to make requests to other websites using sensitive information. For example, if a user’s banking credentials are saved locally in the user’s computer by the banking website, the malicious website can not read the credentials and request the bank website to make a transaction behind the back of the user. Thus the CORS policy saves the day and the user.
The CORS policy is one of the policy in the web security. Thus enabling the web security will enable the CORS policy. If you want to know more about web security, let us know in the comments or stay tuned to TecKangaroo.
Now that we have seen what is CORS and What is Web Security, let us see how to Chrome Disable Web Security and Run Chrome without CORS.
Run Chrome without CORS Policy in Windows OS:
We can disable CORS Policy in windows by using the following steps.
- Press the start button.
- Now type CMD as shown in the image.
- Now Right click the result and select Run as Administrator.
- This will open the command prompt in admin mode.
- We will enter the command that will close all instance of chrome. This is a necessary step and so it is recommended that the user reads all the instructions before proceeding.
- Now enter the following command in order to disable the web security in Chrome.
After the command successfully executes, Chrome will launch with web security disabled.
If the above steps does not disable web security, there is a good chance that Chrome is not set as a command in Windows. In that case, use the following instructions in order to disable chrome web security.
- Press the start button.
- Type Chrome.
- Right click the result and select open file location.
- This will open the location of the chrome shortcut.
- Now right click on the shortcut and select open file location.
- This will open the location of the chrome exe.
- Click on the address bar and type cmd.
- This will open the command prompt in the current location.
- Enter the following command into the command prompt to kill all the instances of the chrome.
- Now enter the following command to start chrome with web security disabled.
After doing the above steps chrome will launch with the web security and CORS policy disabled.
Disable Chrome Web Security in Mac:
Enter the following command into Mac’s terminal to Run Chrome without CORS policy.
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome –args –user-data-dir=”/tmp/chrome_tec_kangaroo” –disable-web-security
Disable Chrome Web Security in Linux:
Enter the following command into Linux terminal to Run Chrome without CORS policy.
google-chrome –disable-web-security -–allow-file-access-from-files
In this post, we learned how to Disable Chrome Web Security and also how to run Chrome without CORS policy. We have also learned more about what is Chrome web security and also how it keeps the users safe from malicious web sites. That said, developers can make use of the disabling the chrome web security.
We have seen how to disable web security in Chrome Windows, Mac and also Linux. This will help the users to disable web security and also run chrome without web security.
For more such awesome posts, stay tuned to TecKangaroo.
Run Chrome without CORS policy
- Content Quality
- Author Rating
- Content accuracy
- Article Relevance