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 Tue Aug 24, 2010 4:49 am

First topic message reminder :

MARC! Haha, you go man! Indeed, Marc is great at all these! GREAT JOB!
avatar
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 Sun Aug 29, 2010 9:23 pm

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 Mon Aug 30, 2010 12:34 pm

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

Hope so!!
avatar
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 Mon Aug 30, 2010 1: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.
avatar
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by harlawkid on Mon Aug 30, 2010 1: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
avatar
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 Tue Aug 31, 2010 2: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.
avatar
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 Tue Aug 31, 2010 2: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.
avatar
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 Wed Sep 08, 2010 5:04 pm

exterminator wrote:I have another one : http://khoahoctunhien.2forum.biz/Password-h51.htm

Smile

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
avatar
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 Fri Sep 10, 2010 5: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 Sat Sep 11, 2010 9:08 am

The password "marc" don't work.
avatar
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 Sat Sep 11, 2010 9:30 am

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

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on Tue Sep 14, 2010 5:00 pm

I'm lost. What are HEAD tags and where can i find them?
avatar
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 Tue Sep 14, 2010 5: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.
avatar
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on Tue Sep 14, 2010 8:16 pm

so the page I'm making password-protected CAN'T be a forum page? It has to be a HTML page?
avatar
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 Tue Sep 14, 2010 8:22 pm

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

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

Re: Split : Password protected forum

Post by fan4me on Tue Sep 14, 2010 8:46 pm

well if im trying to make a forum page password-protected, how do i do it if there's no HEAD tags?
avatar
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 Fri Sep 17, 2010 3:18 pm

if anyone could help me with this step-by-step through PM, I'd love you Smile
avatar
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 Tue Sep 21, 2010 4:30 am

Super useful Very Happy
avatar
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 Wed Sep 22, 2010 5:07 am

wow!! i realy like this website.. bravo bravo salut
avatar
masssterkid
New Member

Posts : 15
Reputation : 0
Language : english

Back to top Go down

Re: Split : Password protected forum

Post by paint on Fri Sep 24, 2010 12: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)?
avatar
paint
Forumember

Male Posts : 686
Reputation : 3
Language : English

Back to top Go down

Re: Split : Password protected forum

Post by exterminator on Fri Sep 24, 2010 1:20 am

Just put the javascript code to a .js file, so they can't see you password.
avatar
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 Tue Oct 05, 2010 11:05 am

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


Last edited by MrMario on Mon Oct 25, 2010 4: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 Tue Oct 05, 2010 11:06 am

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


Last edited by MrMario on Mon Oct 25, 2010 4: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 Tue Oct 05, 2010 5:07 pm

My screen is 1024x768 and some text got cut of.
avatar
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 Thu Oct 07, 2010 6:40 am

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.
avatar
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 Thu Oct 14, 2010 3: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.
avatar
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 Fri Oct 22, 2010 7:26 am

great !!
avatar
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 Tue Nov 09, 2010 9:18 am

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 Tue Nov 09, 2010 10:13 am

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>
avatar
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Split : Password protected forum

Post by moustos on Tue Nov 09, 2010 11:32 am

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 Tue Nov 09, 2010 12: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>
avatar
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