devxlogo

Hide Your Included Code Behind an ASP Extension

Hide Your Included Code Behind an ASP Extension

The common extension for an Include file in an Active Server Page is .INC. However, the included page, like the main page, may contain code that you don’t want to share with the world. If you use the .INC extension, browsers can type the filename into the URL and pull out your source. A better way is to use the extension .ASP for Include files. If a Web surfer tries to view the file, the server will execute the included portion of the page without revealing the ASP code.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist