Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: All
Apr 20, 1999

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.
Ken Cox
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date