Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating Permission to enter home page

Posted on 2000-05-14
2
Medium Priority
?
190 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
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…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

636 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