From owner-freebsd-questions@freebsd.org Fri Nov 20 23:40:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72F20A338A6 for ; Fri, 20 Nov 2015 23:40:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06A6F146E for ; Fri, 20 Nov 2015 23:40:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmec201 with SMTP id c201so92539137wme.0 for ; Fri, 20 Nov 2015 15:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yHKdNGZU16xfXvgYaIsUdzwhhvjAsQfsxf0KNk1Wris=; b=mDVNwV4oSf6rjKzCyr0vEiKW2XtrbMg1U7KuttjJ07QcD3oqkVhYEimCWftxf2umV/ NHOCR6UMilzI7lFkyy+AFPW9mF+qHPizpbVSh0kq6JTuykzGSAKUmsGd4nhlLZi6dHoq BTgN1tZTgZiN2c6yNKpor0hZgPcnKxSj7QfFGGVTllOmG80vVvlx0kQeOGlmJfpleUol FuR1nyYJ4Hyy/w+ZgUqOOImr0zH04GzvU/5LvXOpgoDmuroERtM2W2Fk0+uzve5Z8GGH Xup2rtiXEvxVVxx5tDKDNfKdWyC722DdTfJ32JJEoJwOdRNJsoS/Jl6gAoUYQox7LpWp MsBA== MIME-Version: 1.0 X-Received: by 10.194.62.14 with SMTP id u14mr13071737wjr.24.1448062842525; Fri, 20 Nov 2015 15:40:42 -0800 (PST) Received: by 10.194.16.231 with HTTP; Fri, 20 Nov 2015 15:40:42 -0800 (PST) In-Reply-To: <564F51BD.4080103@artem.ru> References: <564F51BD.4080103@artem.ru> Date: Fri, 20 Nov 2015 17:40:42 -0600 Message-ID: Subject: Re: Forbid user set file mtime in the past From: Adam Vande More To: Artem Kuchin Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 23:40:44 -0000 On Fri, Nov 20, 2015 at 11:00 AM, Artem Kuchin wrote: > Hello! > > > Is there any way to forbid users to set file modification time in the past? > > I am asking because many php viruses somehow set modification time in the > past > I have no idea what you think such functionality would accomplish, but I suspect your time would be much better spent preventing "php viruses" in the first place. -- Adam