?
Solved

Creating Permission to enter home page

Posted on 2000-05-14
2
Medium Priority
?
189 Views
Last Modified: 2013-12-24
How can I create login name and password to the home page?
0
Comment
Question by:Amina050900
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Expert Comment

by:DocA
ID: 2811554
Here's one way.  DocA and confidential would be replaced by whatever would meet your needs.  From <script language="JavaScript"> through </script> is what you would incorporate into the <head> area of your html document.  Good luck!

<HTML>

<HEAD>
<TITLE>PASSWORD PROTECTION PAGE</TITLE>

<script language="JavaScript">
<!--------
var name;
var password;

var name1="DocA";
var pass1="confidential";

password=prompt('Please enter your name',' ');
password=prompt('Please enter your password',' ');

if (name!=name1)
if (password!=pass1)
   {
    window.location="noaccess.htm";
    }

//----------->
</script>

<META name="Microsoft Border" content="tlb, default">
<META name="GENERATOR" content="Microsoft FrontPage 4.0">
<META name="ProgId" content="FrontPage.Editor.Document">
</HEAD>

<BODY>

<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Congratulations!&nbsp; You have successfully entered your password.</P>

</BODY>

</HTML>
0
 

Accepted Solution

by:
merk earned 55 total points
ID: 2823395
You can do this several ways. You can put some ASP code on the page to do this. not very hard to do if you know some basic asp.

There are components you can install to do this, asplogin is one of them i think.

You can also do this by managing the frontpage permissions. You may be able to do this within frontpage itself (tools, security, permissions - set it to only registered users have browse access).

If its an NT machine and you have access to it you can set the NT file permissions to block access to a page. You'd need to have administrator access to the server or be able to contact someone who has administrator access.

if you give some more details as to what type of computer your website is on and if you know any ASP it would make it easier to answer this.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Suggested Courses

801 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