Solved

Creating Permission to enter home page

Posted on 2000-05-14
2
177 Views
Last Modified: 2013-12-24
How can I create login name and password to the home page?
0
Comment
Question by:Amina050900
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now