Skip to main content
September 14, 2008
Question

password protect cfm files

  • September 14, 2008
  • 2 replies
  • 1769 views
Hi i have a website being hosted on a server which other clients have access to, is there a way of protecting my files, so they can not be edited, if so what would be the best way to do this?
This topic has been closed for replies.

2 replies

Inspiring
September 16, 2008
Hi,

(I am not sure this will work out or not, Give a try anyway!)...

Just go and delete all the files (i.e, compiled templates) under your "cfclasses" directory, and then do the cfcompile again.
Prasanth_Kumar_S
Inspiring
September 14, 2008
Hi,
One easiest method is to pre-compile your cfm files using the cfcompile.bat file in the CFSERVERROOT/bin/ folder.

- Prasanth
September 14, 2008
ok many thanks i have found the compiler, but not sure where to set the file locations?

i have tried cfcompile C:/ColdFusion8/wwwroot/website2 C:/ColdFusion8/wwwroot/website2 C:/

but no file is created?
September 14, 2008
ok i have now created the files with the incripted code, i then ftp the files to the websever, and now i get this error

500 coldfusion.runtime.CfJspPage._setCurrentLineNo(I)V