[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Adding a simple password prompt to an HTML page?

Posted on 2007-10-04
Medium Priority
Last Modified: 2012-06-21
Is there an easy way to add a password to an HTML page?  For example, if I wanted to take a certain page of our web site and have it protected by a password before being able to view it.
Question by:ddelboccio
1 Comment
LVL 33

Accepted Solution

humeniuk earned 1000 total points
ID: 20015664
If you are hosting on Linux/Apache, an easy & effective way to do this is using the .htaccess file (see - www.elated.com/articles/password-protecting-your-pages-with-htaccess/)

Alternatively, you can use a server-side scripting language like PHP or ASP.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question