{"id":561,"date":"2007-07-06T14:22:04","date_gmt":"2007-07-06T18:22:04","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/2007\/07\/06\/allow-passwordless-access-to-a-subfolder-of-a-password-protected-directory\/"},"modified":"2007-07-13T22:53:08","modified_gmt":"2007-07-14T02:53:08","slug":"allow-passwordless-access-to-a-subfolder-of-a-password-protected-directory","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2007\/07\/allow-passwordless-access-to-a-subfolder-of-a-password-protected-directory\/","title":{"rendered":"Allow passwordless access to a subfolder of a password protected directory"},"content":{"rendered":"<p>Hey,<br \/>\n We have a directory on the server thats password protected and we needed to give access to a subdirectory of that folder to everyone (Without having them enter a password). Turns out it is possible to do so using .htaccess<\/p>\n<p>Create a <strong>.htaccess<\/strong> file in the subfolder that you want to give full access to with the following content:<\/p>\n<p><code>AuthType none<br \/>\nSatisfy any <\/code><\/p>\n<p>Save and exit. This overrides the password protection of the parent folder and gives anonymous access to the folder.<\/p>\n<p>Thanks to <a href='http:\/\/www.logic2go.com'>Vinit<\/a> for the tip.<\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, We have a directory on the server thats password protected and we needed to give access to a subdirectory of that folder to everyone (Without having them enter a password). Turns out it is possible to do so using .htaccess Create a .htaccess file in the subfolder that you want to give full access [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[9,24],"tags":[],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-computer-hintstips","category-knowledgebase"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":0,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}