Click here to Skip to main content
11,411,494 members (65,098 online)
Click here to Skip to main content
Articles » Web Development » ASP » General » Downloads
Add your own
alternative version

Protecting pages with include files

, 14 Sep 2000 CPOL
An article on how to easily password protect a site using include files
<HTML>
<HEAD>
<TITLE>Password protection with includes</TITLE>
</HEAD>
<BODY>

<h1>Test Page</h1>

<P>Those links require an authentication. To login use the following the User as 
"CodeProject" and the password as "Password". Either are case sensitive.</P>
<P>Obviously the login verification should be done through a database or a COM 
component. The purpose of this article is to show how easy it would be to add 
security just using includes.</P>
<P>&nbsp;</P>
<P><a href="test1.asp">Test page1</a></P>
<P><a href="test2.asp">Test page2</a></P>

</BODY>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

xicoloko
Architect VisionOne AG
Switzerland Switzerland
XicoLoko is a brazilian developer based in Switzerland.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150414.5 | Last Updated 15 Sep 2000
Article Copyright 2000 by xicoloko
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid