Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread Martin Baxter
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 t

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
Ageed - always include your credentials from another file - plenty of wise replies! :) On 22/05/2014 17:04, Matthias Rebbe | M-R-D wrote: Yes and no. If for what ever reason the lc server engine is not running or misconfigured than it could happen that the content of that .lc script will be

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread Richard Gaskin
Devin Asay wrote: > As John said .lc files are parsed by the server and only the output > is visible to the browser. But I'm like you, when storing things > like MySQL login credentials I'm nervous about saving them in plain > text, even in a .lc file. So I take the extra step of storing the > cr

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread Matthias Rebbe | M-R-D
Yes and no. If for what ever reason the lc server engine is not running or misconfigured than it could happen that the content of that .lc script will be outputted. So the best thing would be, to place the script outside the public_html folder as AndyP suggested. You could then create a script

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread AndyP
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 My software never has bugs. It just develops random features. Copy the new cloud spa

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread Devin Asay
On May 21, 2014, at 10:31 PM, Nakia Brewer wrote: > Afternoon all, > > As I venture down the road of learning what the wonders of LC Server scripts > can do I find myself wondering how safe are the content of these scripts. > Being completely new to Web and Server development it's probably a

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
A server .lc file is parsed by the server and only it's output is ever sent to the browser (not the source code), so the code is safe :) On 22/05/2014 05:31, Nakia Brewer wrote: Afternoon all, As I venture down the road of learning what the wonders of LC Server scripts can do I find myself