Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Permissions on PHP script to only run locally
- Date: Tue, 9 Mar 2010 13:38:58 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Permissions on PHP script to only run locally
- References: <4B95BD95.4020201@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2010-03-09 12:16 +0900 (Tue), Dave M G wrote: > I wondered if there was a permission setting I could put on the file so > that it was only accessible by the server's local cron command, and not > accessible by anyone coming at it from the browser. Neither the cron command nor the user's "browser" have access rights directly associated with them. Users have access rights. When a user runs a program, that program can do whatever the the user is allowed to do. So, think about what user is running the web server that is executing requests receceived from browsers, and as what user you're running the maintenance script. > If possible, what would the settings be? Permissions and ownership make > my head explode... Unix permissions are not very complex at all; you probably just need to find the right explanation to help you get it. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 http://www.starling-software.com The power of accurate observation is commonly called cynicism by those who have not got it. --George Bernard Shaw
- References:
- [tlug] Permissions on PHP script to only run locally
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: [tlug] Permissions on PHP script to only run locally
- Next by Date: Re: [tlug] Permissions on PHP script to only run locally
- Previous by thread: [tlug] Permissions on PHP script to only run locally
- Next by thread: Re: [tlug] Permissions on PHP script to only run locally
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links