{"id":15960718,"date":"2022-08-29T17:54:51","date_gmt":"2022-08-29T17:54:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/store-attachement-elsewhere\/"},"modified":"2022-08-29T17:54:51","modified_gmt":"2022-08-29T17:54:51","slug":"store-attachement-elsewhere","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/store-attachement-elsewhere\/","title":{"rendered":"Store attachement elsewhere"},"content":{"rendered":"<p>Hi,<\/p>\n<p>when someone upload a file in a form it&#8217;s stored in the upload folder of WP. But this folder is accessible by anyone who tape the right URL.<br \/>\nIs there a way to put the uploaded file in a email attachement rather than in the Upload folder of WP?<br \/>\nBecause the uploaded files should be confidential.<\/p>\n<p>Thanks in advance for the answers and sorry for my English&#8230;<\/p>\n","protected":false},"template":"","class_list":["post-15960718","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15960718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15960718\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15960718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}