Accessing protected folders on a web server

Alex Tweedly alex at tweedly.net
Wed Dec 7 03:42:31 EST 2005


Thomas McCarthy wrote:

>I update a file on my server using a script like this:
>
>put  x & cr after URL "ftp://username:password@www.mysite.com/secretroom/somefile.txt"
>
>I also retrieve info by getting the URL. Some of this info is of a sensitive nature (my daily body-mass-index). So I would like to protect it. I've already put in a file named "index.html" to keep casual browsing away. If I add password protection to the folder how would I be able to access files in it through Rev?
>  
>

Simply do

put  URL "ftp://username:password@www.mysite.com/secretroom/somefile.txt" into myVar

The file will can be left not be accessible through http, and ftp requires the password, so you should be protected.


-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 02/12/2005




More information about the use-livecode mailing list