Keeping On-Rev Scripts and Data From Prying Eyes
gregory.lypny at videotron.ca
Thu Aug 5 12:07:04 CDT 2010
Excellent. Good advice. Although, I've started to mess around with it, and my page is not longer working. I think I must be entering the file paths incorrectly or I have the wrong permissions. Those are two things I will have to do some homework on.
Just as a first attempt, I created a folder named scripts. It is at the same level in the hierarchy as public_html and has the same permissions (750). Inside of scripts are the revolution handler MyLookUp.irev and MyData.txt. Both have permissions 0644, which is what they had when they were located in public_html.
In my web page, which remains in public_html, I have <?rev include ../scripts/MyLookUp.irev ?>
The line in the script that accesses the data is
put url ("file:../scripts/MyData.txt") into tmpList
On Thu, Aug 5, 2010, at 12:24 PM, use-revolution-request at lists.runrev.com wrote:
> Best than putting them in the cgi-bin, i always prefer to set to be a read-only dir, each time we need to push data files away from eyes, it's mostly simple to put them inside a private htaccess/htpasswd protected directory (need login/passwd authentication on the web side ; full accessible to the irev scripts as a simple local filesystem directory).
More information about the use-livecode