From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4VhDGNW4w2XePAAAe85BDQ:P1 (envelope-from ) for ; Wed, 07 Feb 2024 18:07:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4VhDGNW4w2XePAAAe85BDQ (envelope-from ) for ; Wed, 07 Feb 2024 18:07:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VBttiT7v; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707325653; a=rsa-sha256; cv=none; b=GKZnH3ycf2JSWEOYVmpYY2k6OjWJcImLUziX3NGaB+xo4JI3L3ezEKM9juPoM+BzM8qeIQ Rt7QI86TS6UsVyrXo0cKKMTcse4A+p0ds87HB8MrXtqlaRDmlnlPgxoOrUe99jMO5Aa4f8 Haho8Z3EvPyhdxv0V4aaILHG/C5UzHj2uXaSCvpFUpZT696LslwpHTztTFgxQmDc9ZxM1W oVpkoDSDnPpBFL5/iXsdlFRXwo6h3BqFlsDVkj9MZd18QKr6R3r/PhP+Ozwc+WRln+4YzU VFRYrtT9kEdOWTJJIiQq2E6aIS2bjuQeFHYRbQA250RWjt4ss1RB23AOPZKCvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VBttiT7v; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707325653; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pzZRZH6jvmEuQYMEbmr817g5//sNbcGiCBCeNpMgfpA=; b=qVcQfU/TRewSxoNQd43hgdAz0VkonvxU7wcLxUNE2OWIl4pTFCoQCXscFHF37Wc/ASyF5C cryDXyK1Z6TpYetXt1luNyg+iLgL7+6/HKZQNRkwGCSCzTlPwpXqyWSdydHc2jydIvZLF+ szHqxa5xnV5WZ2LFjgtHx9pSB7fTyK3YsvlUMMF6kXLkagm6NnNuDQiXOd340y/wybKEMq P2SaVEbhurn+mTbW7xBgg0LBfS1//Eq+XzkwsfEtp7biT+wKXVL87g77HBGx/DzrKM49DZ /ompYVh17BdbpnBjy2IUZ4wmXoIHBjwo+cCzOJvXBGhE8QIFo7t+Xp33YCCrbA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8ADCE70A20 for ; Wed, 7 Feb 2024 18:07:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXlO1-0004mh-Pm; Wed, 07 Feb 2024 12:07:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXlNz-0004mX-II for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 12:06:59 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXlNx-0003Ex-UZ for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 12:06:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 62C11240101 for ; Wed, 7 Feb 2024 18:06:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707325616; bh=fN1n7CeAmNiayDyKB73GGG60sfsgreXOCqhHZrret2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=VBttiT7vg0wpqoU2Hx8cicyWobtF3Un+WNpOgoBO5BtGdJMdzsjX/Go48ba1HhtN0 NLsFwr50cFwmyCrRKTTcy3chZ2rikZPV6M79T0LMGUnVbrcKPQYiuNwUBDSXl/5ftW hDQGJp/wkgOODE23vqu9bkExvowUqfCootpfrZ18/28qSUg2RPABZr7uxSIOWNf/AG zAc7fZof8WzCBS75Z68KOSeMspAp3qk8paScuwCFQJuvgmuh1/juDE2w28uRBMMZEj D6x1oeH5g6hBwyPYv5V5jYCmfeMUgckx5dOW7md97DuW14WJdEF4yedC1Wjrgjk+Yi 3wQCngFeDBiAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TVRNv444jz6trs; Wed, 7 Feb 2024 18:06:55 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Org may fetch remote content without asking user consent In-Reply-To: References: <87bk8s45ja.fsf@localhost> Date: Wed, 07 Feb 2024 17:10:25 +0000 Message-ID: <87a5ocqjy6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_HEX=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.34 X-Migadu-Queue-Id: 8ADCE70A20 X-Migadu-Spam-Score: -7.34 X-TUID: gdg0Ltezmiok Max Nikulin writes: > On 07/02/2024 23:12, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> #+setupfile: /dav:localhost#8000:/msg-123456.org > [...] >> I think we can enable checking for anything where `file-remote-p' >> returns non-nil. > ... In addition, TRAMP locations should be > checked against `org-safe-remote-resources' as well. This is what I propose. `file-remote-p' will return non-nil on TRAMP locations. > It is a bit more tricky. Current file may be remote as well. Browsers > have concept of same origin for applying security and privacy measures. > Org needs something similar. May you please elaborate? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at