.asp vs .inc

Results 1 to 3 of 3

Thread: .asp vs .inc

  1. #1
    Join Date
    Dec 1969

    Default .asp vs .inc

    When should I use .inc files and when should I use .asp file.<BR>Are .asp files more efficient in IIS?

  2. #2
    Join Date
    Dec 1969

    Default RE: .asp vs .inc

    I&#039;d say always use .asp files as includes. That way when script-kiddies try to access your includes the file will have to run through the servers asp engine, thereby hiding your lovely code from prying eyes...<BR>Security man!<BR><BR>sal X

  3. #3
    Join Date
    Dec 1969

    Default Neither are more efficient.

    It comes down to a matter of security. But, even that can be overcome -- if you want to use .INC for clarity (I don&#039;t know why you don&#039;t just put them into an "Includes" folder, but anyway) just tie them to the ASP.DLL in IIS.<BR><BR>That way they are processed, as if, they are ASP files. And your script source is secure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts