473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

password Java?

any one now any good java/Html for password pages so i can protect some
pages??

Thanks
Jul 20 '05 #1
7 2928
"Eagle35" <ea*****@hotmail.com> writes:
any one now any good java/Html for password pages so i can protect some
pages??


You probably mean "JavaSCRIPT", not "Java". At least, that would put
you in the correct newsgroup.

Any password protection that *works* has to run on the server, not the
client. I would recommend finding out which server-side technologies
you have available and the asking in the appropriate group for that one.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
yer i no its "JavaScript" just cant be bothered to say it all
"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:ek**********@hotpop.com...
"Eagle35" <ea*****@hotmail.com> writes:
any one now any good java/Html for password pages so i can protect some
pages??
You probably mean "JavaSCRIPT", not "Java". At least, that would put
you in the correct newsgroup.

Any password protection that *works* has to run on the server, not the
client. I would recommend finding out which server-side technologies
you have available and the asking in the appropriate group for that one.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors:

<URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html> 'Faith without judgement merely degrades the spirit divine.'

Jul 20 '05 #3
In article <bn*******************@news.demon.co.uk>, ea*****@hotmail.com
says...
"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:ek**********@hotpop.com...
"Eagle35" <ea*****@hotmail.com> writes:
any one now any good java/Html for password pages so i can protect some
pages??


You probably mean "JavaSCRIPT", not "Java". At least, that would put
you in the correct newsgroup.

Any password protection that *works* has to run on the server, not the
client. I would recommend finding out which server-side technologies
you have available and the asking in the appropriate group for that one.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors:

<URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'



--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #4
In article <bn*******************@news.demon.co.uk>, ea*****@hotmail.com
says...
yer i no its "JavaScript" just cant be bothered to say it all
"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:ek**********@hotpop.com...
"Eagle35" <ea*****@hotmail.com> writes:
any one now any good java/Html for password pages so i can protect some
pages??


You probably mean "JavaSCRIPT", not "Java". At least, that would put
you in the correct newsgroup.

Any password protection that *works* has to run on the server, not the
client. I would recommend finding out which server-side technologies
you have available and the asking in the appropriate group for that one.

yer i no its "JavaScript" just cant be bothered to say it all


Well, you need to learn - Java is not the same is JavaScript, not by a
long shot.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #5
"Eagle35" <ea*****@hotmail.com> writes:
yer i no its "JavaScript" just cant be bothered to say it all


Ignorance is an excuse (not a good one in the long run, but one).
Laziness is not. Being lazy in your writing makes it harder to take
your problem seriously, since obviously you don't even take it
seriously enough to bother with spelling, punctuation, or
distinguishing between Java and Javascript when communicating it
to us.

There are a lot of people who don't know the difference between
Javascript and Java (which are two completely different languages).
If you know, you should not muddy the waters even more by using the
name of the wrong language.

Still, the answer stands: Use server side technologies. That's as much
as I can be bothered to say. :)
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #6
ciao
negative, no password is safe with javascript. yet protection of the pages
by a server side language is so easy a thing after all for most common
purposes (well we're not sepaking of financial transactions I suppose!) that
even a minimal asp or php support would grant you the trick.
But in javascript, no way. All the solutions eventually crush against this:
the javascript protected page can be bookmarked, and then viewed bypassing
the 'password'. You could arguably put all within a frameset, and find a
complex way to redirct always to some page if the password is not protected,
but eventually you come to this: if your password is by javascript, then it
has to be written within some js file, no matter how obfuscated: whoever
sees the js file gets the password.
If you want a mild 'protection' say to avoid kids maybe it works, but if you
truly need to have your page reserved, only server side can do that.

"Eagle35" <ea*****@hotmail.com> ha scritto nel messaggio
news:bn*******************@news.demon.co.uk...
any one now any good java/Html for password pages so i can protect some
pages??

Thanks

Jul 20 '05 #7
"Eagle35" <ea*****@hotmail.com> escreveu na mensagem
news:bn*******************@news.demon.co.uk...
any one now any good java/Html for password pages so i can protect some
pages??


Well, you can hide the password from the source code with this trick :

<script>
pw=window.prompt("Enter Password","");
window.location=pw + ".htm"
</script>

use forms objects instead of window.prompt, with PASSWORD input type. The
password is a link to a server's page

Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Chatterton | last post by:
I want to use jdb for debugging a servlet. I'm using Apache/JServ with jdk 1.4 (via Textpad on win2K SP 3). The 'gospel' I'm using is: 'Start the server manually and record the password for...
1
by: Lewis Sellers | last post by:
I have a custom JSSESocketFactory class that can take a PKCS12 certificate and password and use it to talk through axis to a secure web service. That works.... The problem is it needs to work on...
8
by: Wayne Davis | last post by:
I want to password protect the continued running of a section of javascript. What I need is for the user to see a login field, they type a code in, if it is good, the script continues, if bad, it...
8
by: rhumphri | last post by:
I need a javascript that will accept the username "frederic" and the password "ozanam" on my page "member,html" that will allow those who input this data to access my page "member2.html". I had...
0
by: sanbm79 | last post by:
Hi All, I am facing a problem in posting Web request with username and password credentials. I am working on migrating Java client application to .Net which will send request to Java servlet. ...
2
by: %NAME% | last post by:
(Thanks to Bernd, Ian, Phil last time for their detailed answers last time) Now I try to call JDBC driver without giving the username and password as they suggested. I am using DB2 jdbc on SunOS...
2
by: wesomon99 | last post by:
Sorry if this is an obvious solution, but searching has produced nothing for me. I have a MySQL database with passwords encrypted using an MD5 hash. I then have java code that also encrypts using...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
1
by: ccarter45 | last post by:
I'm new to java and writing a program that accepts user input for a password and it has to meet the following requirements: 1. At least 6 characters long. 2. Leading character can't be a digit....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.