473,698 Members | 2,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

password Java?

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

Thanks
Jul 20 '05 #1
7 2937
"Eagle35" <ea*****@hotmai l.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/rasterTriangleD OM.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*****@hotmai l.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/rasterTriangleD OM.html> 'Faith without judgement merely degrades the spirit divine.'

Jul 20 '05 #3
In article <bn************ *******@news.de mon.co.uk>, ea*****@hotmail .com
says...
"Lasse Reichstein Nielsen" <lr*@hotpop.com > wrote in message
news:ek******** **@hotpop.com.. .
"Eagle35" <ea*****@hotmai l.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/rasterTriangleD OM.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.de mon.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*****@hotmai l.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*****@hotmai l.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/rasterTriangleD OM.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*****@hotmai l.com> ha scritto nel messaggio
news:bn******** ***********@new s.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*****@hotmai l.com> escreveu na mensagem
news:bn******** ***********@new s.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.promp t("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
2435
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 remote debugging (this is displayed on the console).' 'Start the Java debugger:' 'jdb -host your_host -password the_password' 'You should be able to debug your Java classes now using the jdb
1
2817
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 a shared hosting environment where each customer will have thier own certificates, the certificate is used used to verify their identity. I've been staring at the JSSE but am at somewhat of a loss as how to pass the cert location/password TO the...
8
3944
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 stops dead. I would like to base the password on julian date so some example numerical calcs (so I can see how they are structured in Java) would be handy. Also, how do I time out a group of statements after a preset amount of time like 1...
8
6091
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 a script that did this but when I updated the page on which it resided I did not keep a copy of the javascript. If you can help me with the script and email it to me at rhumphri@silk.net I would be very grateful.
0
2991
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. Java Client application code: HttpClient httpclient; httpclient = new HttpClient();
2
5964
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 5.8 with db2 version 7.2.0. When I am using the type2 network driver (COM.ibm.db2.jdbc.net.DB2Driver) with username and password, everything is fine. However, when I use the application driver: (COM.ibm.db2.jdbc.app.DB2Driver), and call...
2
5026
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 MD5 to check passwords that a user puts in. This works fine for almost all passwords. However, if a password begins with a number, the hash does not work. Here is an example, for the password '12345': MySQL MD5 hash: ...
8
28567
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 made a simple database in jsp(just to check if my mysql is working smoothly otherwise) which access' the username.....but in the process im getting a error--> java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) i have...
1
1655
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. 3. Password must have at least 1 digit. 4. Password must have at least 1 upper case letter. The main method will keep asking the user for a password (using a while loop) until it gets one that's okay. The other method has the signature: public...
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8893
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7721
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4615
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.