Solved

Creating Permission to enter home page

Posted on 2000-05-14
2
175 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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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 …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

763 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

7 Experts available now in Live!

Get 1:1 Help Now