Making the content of LC Server Scripts Safe
mblivecode at harbourhosting.co.uk
Thu May 22 12:55:05 EDT 2014
On 22/05/14 16:52, AndyP wrote:
> Also apart from having the details in separate file, encrypt the file
> and place it outside your public html folder, this way no would be
> able to stumble onto the file by erm... 'accident'
> ----- Andy Piddock
Storing files outside web root is always the recommended solution I
think. But that is not always allowed. In such a case (and assuming your
webserver is Apache), a folder containing includes you want to keep
secret can be protected with an .htaccess file like so:
deny from all
Which bans Apache from serving any files from that folder, but livecode
should still be able to access the contents.
More information about the Use-livecode