{"id":39809,"date":"2023-09-14T21:14:44","date_gmt":"2023-09-14T21:14:44","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=39809"},"modified":"2023-09-14T21:14:46","modified_gmt":"2023-09-14T21:14:46","slug":"how-to-denied-or-allowed-any-application-permissions-to-access-apis-websites-using-firewall","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-denied-or-allowed-any-application-permissions-to-access-apis-websites-using-firewall\/","title":{"rendered":"How to denied or allowed any application permissions to access APIs websites using firewall?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"518\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2023\/09\/image-397-1024x518.png\" alt=\"\" class=\"wp-image-39810\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2023\/09\/image-397-1024x518.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2023\/09\/image-397-300x152.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2023\/09\/image-397-768x388.png 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2023\/09\/image-397.png 1236w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you mistakenly denied application permissions to access certain APIs or functionalities, you can usually grant those permissions again by following the steps based on your operating system:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">For macOS:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <code>System Preferences<\/code>.<\/li>\n\n\n\n<li>Navigate to <code>Security &amp; Privacy<\/code>.<\/li>\n\n\n\n<li>Select the <code>Privacy<\/code> tab.<\/li>\n\n\n\n<li>From the left pane, find the category for which you denied permission, e.g., <code>Files and Folders<\/code> or <code>Full Disk Access<\/code>.<\/li>\n\n\n\n<li>Unlock the settings by clicking the lock icon at the bottom left corner and entering your password.<\/li>\n\n\n\n<li>Check (or add and check) <code>Postman<\/code> in the list of applications that can access that category.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">For Windows:<\/h3>\n\n\n\n<p>If the permission was for a system-level task, such as network access:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <code>Control Panel<\/code>.<\/li>\n\n\n\n<li>Navigate to <code>System and Security<\/code> &gt; <code>Windows Firewall<\/code>.<\/li>\n\n\n\n<li>Click on <code>Allow an app through Windows Firewall<\/code>.<\/li>\n\n\n\n<li>Find <code>Postman<\/code> in the list and ensure it has the necessary permissions.<\/li>\n<\/ol>\n\n\n\n<p>If it was a browser-level permission (if you used Postman for the web):<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to your browser&#8217;s settings.<\/li>\n\n\n\n<li>Find the <code>Privacy<\/code> or <code>Site Settings<\/code> section.<\/li>\n\n\n\n<li>Look for permissions or exceptions lists and modify the settings for Postman or the specific API endpoint.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">For Linux:<\/h3>\n\n\n\n<p>The steps can vary depending on the distro and what kind of permission you denied. However, in general:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If it was a system-level permission, consider launching Postman with elevated privileges using <code>sudo<\/code>.<\/li>\n\n\n\n<li>If it was a browser-level permission (for Postman for the web), modify the settings in your browser&#8217;s privacy or site settings similar to the steps outlined for Windows.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you mistakenly denied application permissions to access certain APIs or functionalities, you can usually grant those permissions again by following the steps based on your operating system: For macOS: For Windows: If the permission was for a system-level task, such as network access: If it was a browser-level permission (if you used Postman for&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-39809","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/39809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=39809"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/39809\/revisions"}],"predecessor-version":[{"id":39811,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/39809\/revisions\/39811"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=39809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=39809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=39809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}