home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / coldfus / coldfusi.exe / data1.cab / Examples / docs / pubdocs / 6-learnmore.cfm < prev    next >
Encoding:
Text File  |  1998-10-08  |  1.7 KB  |  44 lines

  1. <CFSET Title = "Learning More">
  2. <CFINCLUDE TEMPLATE="_header.cfm">
  3.  
  4. <H3>Learning More</H3>
  5.  
  6. <P>If you've read all the way up to this point, you've seen the foundation of
  7. the dynamic content publishing system we've created. Now you're ready to browse
  8. through the DCP system on your own, creating objects and instances, uploading
  9. files, etc.</P>
  10.  
  11. <H4>Security Note</H4>
  12.  
  13. <P>One thing to note is that the DCP Administrator will only respond to browser
  14. calls to/from 127.0.0.1, for security purposes. Since files can be freely uploaded
  15. with this system, a visitor could upload a .cfm template with malicious code and
  16. execute it from your server. By restricting calls to 127.0.0.1, a hacker would
  17. have to be actually sitting in front of the server to access the DCP Administrator
  18. at all.</P>
  19.  
  20. <P>If it's impossible for you to use the DCP Administrator from the server, you can
  21. remove the 127.0.0.1 restriction by editing publish/admin/application.cfm and changing
  22. the line:</P>
  23.  
  24. <BLOCKQUOTE><PRE><CFIF CGI.REMOTE_ADDR NEQ "127.0.0.1"></PRE></BLOCKQUOTE>
  25.  
  26. <P>to something like:</P>
  27.  
  28. <BLOCKQUOTE><PRE><CFIF CGI.REMOTE_ADDR IS "0"></PRE></BLOCKQUOTE>
  29.  
  30. <P>Because this leaves your system vulnerable, you may want to at least rename the
  31. "publish" directory to something less obvious.</P>
  32.  
  33. <H4>That's All...</H4>
  34.  
  35. <P>That's the end of the DCP documentation; now go out and play with the system. And don't
  36. be afraid to dive into some of the CFML source. We hope you find this content publishing
  37. system useful!</P>
  38.  
  39. <ul>
  40.     <li><a href="../../publish/admin/index.cfm">Enter as an adminstrator</a>
  41.     <li><a href="../../publish/welcome.cfm">View the pages as an end-user</a>
  42. </ul>
  43.  
  44. <CFINCLUDE TEMPLATE="_footer.cfm">