explorador - 2:02 am on Mar 23, 2010 (gmt 0)
Hi webmasters, I'm wondering about the source code security on shtml files with perl code or server side includes. I searched on the web for answers but still no luck.
Per example: sometimes certain problems on a server may cause php files to be downloaded instead of executed (specially on peak times). I'm sure the server config has a lot to do with it. As far as my experience goes, my perl code never been compromised (or showed), the only problem if any was "internal server error" or "out of memory" when there is too much work at once (shared servers).
By now I came up with a solution on a project using shtml files, this can call and execute in place many perl files OR the best feature for me here is to execute conditions and show certain portions of the html and hidding the rest to the user.
PD. I have a lot of files that instead of turning into code inside a perl file I would like to keep them as html files for dreamweaver modifications on the file. Long explanation short: not always it will be us as programmers who will modify the layout (beyond css).
I know shtml files mean extra work on the server, but if a problem occurs, would the source code ever be compromised? showed to the user?
Thanks in advance.