The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Password needed to get to html page?

2 posters

Go down

Password needed to get to html page? Empty Password needed to get to html page?

Post by finnysgirl March 21st 2010, 3:17 pm

Is there a way that I canmake an html page you have to login to, to be able to see it?


does that make sense...


if not basic rundown:
you clickon music and it comes to a loading page, the loading page loads and you have to prove your a member by logging in. Then you log in and it works :3


mew ^_^
avatar
finnysgirl
Forumember

Posts : 82
Reputation : 0
Language : English

http://bewhoyouwanttob.forumotion.com

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by Master Marc March 21st 2010, 8:54 pm

For this to work, you'll have to listen to me carefully, Wink We can do this easily by using Javascript, Very good

Firstly, create your html page, that you'd like to be password protected.

The name of your HTML page is going to be used as your password.

Example :

If your html page URL is : www(dot)Forum(dot)com/forum.htm

Then 'forum' is your password, Wink

Then slip this meta data into your head tags on your web page source :

Code:
<meta name="robots" content="noindex" />

This will avoid your web page(s) from being indexed by search engine bots so that your page will remain "protected".

Now that you've done all of this, don't give out the link to your protected web page.

Now, create a new web page with this script : ( I'll give you the whole source code )

Code:
<html>

<body>

<head>

<script language="javascript">

<!--

function PlanA() {
var password = prompt("Please Enter Your Password :", "");
if (password) { this.location.href = password + ".html"; }}

//-->

</script>

</head>

<body>

<a href="javascript:{;}" onClick="PlanA(); return false">Enter Password !</a>

</body>

</html>

This will be your main tool for anyone to access your protected web page(s).

Once you have this tool, just click on the link and enter the password of your protected web page, and you'll be redirected to the protected web page, Very good

You can test this tool at my site for a limited time : http://www.iwebbuddy.com/passwordtool-h15.htm

Passwords :
html-tutorial-h2
csstutorial-h12
xhtml_tutorial-h13
ftp-tutorial-h3
Master Marc
Master Marc
Hyperactive

Male Posts : 3661
Reputation : 47
Language : English and Spanish.

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by finnysgirl March 21st 2010, 9:09 pm

Thanks!!! One quick question though, is there a way it has to be THEIR log in to get in?
avatar
finnysgirl
Forumember

Posts : 82
Reputation : 0
Language : English

http://bewhoyouwanttob.forumotion.com

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by Master Marc March 21st 2010, 9:15 pm

finnysgirl wrote:Thanks!!! One quick question though, is there a way it has to be THEIR log in to get in?
On a forumotion forum, there are no ways that I can think of, Shit
Master Marc
Master Marc
Hyperactive

Male Posts : 3661
Reputation : 47
Language : English and Spanish.

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by finnysgirl March 22nd 2010, 12:25 am

hmm. alright then....thanks I will deff try this out this week PLEASE DONT LOCK THIS THREAD SOI CANREPOST HOW IT WENT!
avatar
finnysgirl
Forumember

Posts : 82
Reputation : 0
Language : English

http://bewhoyouwanttob.forumotion.com

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by finnysgirl April 9th 2010, 5:04 pm

Okquestion. I have the tag and stuff and I can click the enter your password and I do.

How do I get it to relocate to the next page!?

Can I make multiple passwords?

The point of this is every month the password changes so...yeah
avatar
finnysgirl
Forumember

Posts : 82
Reputation : 0
Language : English

http://bewhoyouwanttob.forumotion.com

Back to top Go down

Password needed to get to html page? Empty Re: Password needed to get to html page?

Post by finnysgirl April 26th 2010, 5:49 pm

bump
avatar
finnysgirl
Forumember

Posts : 82
Reputation : 0
Language : English

http://bewhoyouwanttob.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum