The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Split : Password protected forum

Page 2 of 3 Previous  1, 2, 3  Next

View previous topic View next topic Go down

Split : Password protected forum

Post by identityproof on August 24th 2010, 10:49 am

First topic message reminder :

MARC! Haha, you go man! Indeed, Marc is great at all these! GREAT JOB!

identityproof
Forumember

Posts : 506
Reputation : 1
Language : english

http://advertisehotspot.com

Back to top Go down


Re: Split : Password protected forum

Post by anhlanam on August 30th 2010, 3:23 am

that's great, i likeit

anhlanam
New Member

Posts : 2
Reputation : 0
Language : vietnam

Back to top Go down

Re: Split : Password protected forum

Post by harlawkid on August 30th 2010, 6:34 pm

Is there not another code that does the same? But doesnt show you the password when you view the source?!?

Hope so!!

harlawkid
New Member

Posts : 10
Reputation : 0
Language : English
Location : Aberdeen

http://xboxfanforum.forumotions.net

Back to top Go down

Re: Split : Password protected forum

Post by KingOfSports on August 30th 2010, 7:09 pm

@harlawkid wrote:Is there not another code that does the same? But doesnt show you the password when you view the source?!?

Hope so!!

Nope. This is it.

KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by harlawkid on August 30th 2010, 7:38 pm

@KingOfSports wrote:
@harlawkid wrote:Is there not another code that does the same? But doesnt show you the password when you view the source?!?

Hope so!!

Nope. This is it.

Oh well... banana

harlawkid
New Member

Posts : 10
Reputation : 0
Language : English
Location : Aberdeen

http://xboxfanforum.forumotions.net

Back to top Go down

Re: Split : Password protected forum

Post by eagle8x on August 31st 2010, 8:06 am

Two disadvantages:
1/ View source and password shown
2/ After being redirect to "hidden page", they will know the "hidden link". How can you prevent them from telling to others? People who khow that link might access "hidde place" without typing password second time.

eagle8x
Forumember

Male Posts : 362
Reputation : 15
Language : Vietnamese

http://diendan.chinhphuc.info

Back to top Go down

Re: Split : Password protected forum

Post by exterminator on August 31st 2010, 8:56 am

We can encrypt these codes so many times, so don't worry about they know the password when viewing source.

And about the redirect url, just someone whom you gave them password know. And they must be someone that you believe, or in staff group Smile.

exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Re: Split : Password protected forum

Post by JDobbsy1987 on September 8th 2010, 11:04 pm


just a quick question, i set this up on my site but after entering the password the first time it always remembers it in future (e.g. if the password is 'test'; after i have entered it once when i go back to the page, as soon as i put t a form appears below with test written in it??)

like when you enter details in a form the 2nd time round.

how do i stop that?

Regards

JDobbsy1987
Forumember

Male Posts : 147
Reputation : 0
Language : England (UK)
Location : Cheshire

http://www.JDobbsyFreeAds.darkbb.com

Back to top Go down

Re: Split : Password protected forum

Post by [HKC]Sheng on September 10th 2010, 11:06 am

hey dude its better understanding when the right side can be seen.

[HKC]Sheng
Forumember

Posts : 32
Reputation : 0
Language : English and Tagalog

Back to top Go down

Re: Split : Password protected forum

Post by Yuatato on September 11th 2010, 3:08 pm

The password "marc" don't work.

Yuatato
Forumember

Male Posts : 158
Reputation : 0
Language : Danish, English (But not so good)

http://nightclan.forumotion.com/

Back to top Go down

Re: Split : Password protected forum

Post by Saxaca on September 11th 2010, 3:30 pm

You can stop them from wiewing the source by using Marc's script to disable right click.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on September 14th 2010, 11:00 pm

I'm lost. What are HEAD tags and where can i find them?

fan4me
Forumember

Male Posts : 126
Reputation : 8
Language : English

http://orianthi.forumotion.com

Back to top Go down

Re: Split : Password protected forum

Post by KingOfSports on September 14th 2010, 11:09 pm

@Saxaca wrote:You can stop them from wiewing the source by using Marc's script to disable right click.
That doesn't stop someone from viewing source code. There is no possible way to stop people from viewing source code. I could press CTRL+U and I could see it.


@fan4me wrote:I'm lost. What are HEAD tags and where can i find them?
They go in your HTML page.

KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on September 15th 2010, 2:16 am

so the page I'm making password-protected CAN'T be a forum page? It has to be a HTML page?

fan4me
Forumember

Male Posts : 126
Reputation : 8
Language : English

http://orianthi.forumotion.com

Back to top Go down

Re: Split : Password protected forum

Post by KingOfSports on September 15th 2010, 2:22 am

It doesn't have to be, but it works best on an HTML page.

KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on September 15th 2010, 2:46 am

well if im trying to make a forum page password-protected, how do i do it if there's no HEAD tags?

fan4me
Forumember

Male Posts : 126
Reputation : 8
Language : English

http://orianthi.forumotion.com

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on September 17th 2010, 9:18 pm

if anyone could help me with this step-by-step through PM, I'd love you Smile

fan4me
Forumember

Male Posts : 126
Reputation : 8
Language : English

http://orianthi.forumotion.com

Back to top Go down

Re: Split : Password protected forum

Post by Fireflies on September 21st 2010, 10:30 am

Super useful Very Happy

Fireflies
Forumember

Male Posts : 42
Reputation : 0
Language : Hindi , English
Location : India

http://pc2mobile.heavenforum.com

Back to top Go down

Re: Split : Password protected forum

Post by masssterkid on September 22nd 2010, 11:07 am

wow!! i realy like this website.. bravo bravo salut

masssterkid
New Member

Posts : 15
Reputation : 0
Language : english

Back to top Go down

Re: Split : Password protected forum

Post by paint on September 24th 2010, 6:28 am

Wouldn't it be much easier (security wise) to login through a .php file (login.php) in which the password is transmitted securely and can't be simply seen in the source code? But you'd need to have a database (MYSQL) to have the users and then have the login form. Oy. Is there an easier way (without requiring external websites with access to .php file creation and MYSQL database creation and configuration)?

paint
Forumember

Male Posts : 686
Reputation : 3
Language : English

Back to top Go down

Re: Split : Password protected forum

Post by exterminator on September 24th 2010, 7:20 am

Just put the javascript code to a .js file, so they can't see you password.

exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Re: Split : Password protected forum

Post by blazabes on October 5th 2010, 5:05 pm

I Like the Advertising and marketing.
<b><a href=xxxxxxxxxxxxxx


Last edited by MrMario on October 25th 2010, 10:12 pm; edited 1 time in total (Reason for editing : Link Removed~ MrMario)

blazabes
New Member

Male Posts : 2
Reputation : 0
Language : english

Back to top Go down

Re: Split : Password protected forum

Post by blazabes on October 5th 2010, 5:06 pm

I Like the Advertising and marketing.
http://www.xxxxxxxx


Last edited by MrMario on October 25th 2010, 10:09 pm; edited 1 time in total (Reason for editing : Link Removed~ MrMario)

blazabes
New Member

Male Posts : 2
Reputation : 0
Language : english

Back to top Go down

Re: Split : Password protected forum

Post by Mod 4 U on October 5th 2010, 11:07 pm

My screen is 1024x768 and some text got cut of.

Mod 4 U
Forumember

Male Posts : 46
Reputation : 0
Language : English, Learning Spanish
Location : New York, United States of America

http://atmosphir.forum-motion.net/forum.htm

Back to top Go down

Re: Split : Password protected forum

Post by Azami on October 7th 2010, 12:40 pm

This isn't very effective seeing as the password is provided in the source....

It's a neat tip yes, but not one that you'd use ever on a site.

Azami
New Member

Male Posts : 21
Reputation : 0
Language : English
Location : USA

http://hissingworms.com/

Back to top Go down

Re: Split : Password protected forum

Post by Master Marc on October 14th 2010, 9:43 pm

@paint wrote:Wouldn't it be much easier (security wise) to login through a .php file (login.php) in which the password is transmitted securely and can't be simply seen in the source code? But you'd need to have a database (MYSQL) to have the users and then have the login form. Oy. Is there an easier way (without requiring external websites with access to .php file creation and MYSQL database creation and configuration)?
This is a forumotion forum that you're talking about. Also, it'd be much easier using a .htaccess & .htpasswd files.

@Mod 4 U wrote:My screen is 1024x768 and some text got cut of.
From my tutorial above, a small quote :

@Typlo wrote:For More Information :

Read more about this script : How to create a password protected web page

Very good

@Azami wrote:This isn't very effective seeing as the password is provided in the source....

It's a neat tip yes, but not one that you'd use ever on a site.
JavaScript isn't secure, as I said in the first post.

Master Marc
Hyperactive

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

Back to top Go down

Re: Split : Password protected forum

Post by tokki on October 22nd 2010, 1:26 pm

great !!

tokki
New Member

Male Posts : 5
Reputation : 0
Language : english , thai , korean , filipino
Location : philippines

http://www.emusicbox.darkbb.com

Back to top Go down

Re: Split : Password protected forum

Post by moustos on November 9th 2010, 3:18 pm

I can't do this..can anyone help me,please??here is head tag and where is body tag?must i do something,copy or paste something on the notepad?

moustos
New Member

Posts : 4
Reputation : 0
Language : greek

Back to top Go down

Re: Split : Password protected forum

Post by Saxaca on November 9th 2010, 4:13 pm

Use this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html  xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width" lang="en" xml:lang="en"  >

</head>
<body>
<script>
function checkform(form)
{
if (form.pass.value != "Phoenix" )
{
alert('Sorry, wrong pass. Try again!');
return false;
}
}

</script>


<br><br><br><div align="center">
<form method="post" onsubmit="return checkform(this);" name="password" action="/forum.htm">


<label><input value="Enter password" name="pass" onclick="if (this.value == 'Enter password') this.value = '';" onblur="if (this.value == '') this.value = 'Enter password';" type="text"></label>

<br><div align="center"><input name="ok" value="Enter" type="submit">

</div>

</form>
</body>
</html>

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Split : Password protected forum

Post by moustos on November 9th 2010, 5:32 pm

that's not the problem:P

the problem is that i don't know what and where is the head and the body tag!and i was to put this password system on a forum category or on admin cp!can i or it's only for forum?

moustos
New Member

Posts : 4
Reputation : 0
Language : greek

Back to top Go down

Re: Split : Password protected forum

Post by Saxaca on November 9th 2010, 6:00 pm

Paste this into a forum description:

Code:
<script>
function checkform(form)
{
if (form.pass.value != "Phoenix" )
{
alert('Sorry, wrong pass. Try again!');
return false;
}
}

</script>


<br><br><br><div align="center">
<form method="post" onsubmit="return checkform(this);" name="password" action="/forum.htm">


<label><input value="Enter password" name="pass" onclick="if (this.value == 'Enter password') this.value = '';" onblur="if (this.value == '') this.value = 'Enter password';" type="text"></label>

<br><div align="center"><input name="ok" value="Enter" type="submit">

</div>

</form>

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Page 2 of 3 Previous  1, 2, 3  Next

View previous topic View next topic Back to top


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