Solved

Login Help

Posted on 1998-07-21
1
264 Views
Last Modified: 2010-03-30
I have a web page and I want to be able to use a password security system to
   restrict
   and permit CERTAIN users from accessing certain parts of the site.
   I want users to enter a username and password. Then the Java applet /
   application checks
   a file to see if the entered information matches the information in the file.
   Can that be done with Java?
   If so how?
   What will I need to have and how do I program it?
   What will I need to start programming in Java?
0
Comment
Question by:Protorian
1 Comment
 
LVL 1

Accepted Solution

by:
dryang earned 40 total points
ID: 1227266
Can that be done with Java?
- yes and no...

you will need to check with your ISP what sort of Web server they are using..
usually

1) you will need access to the directory at least one level below where your restricted stuff is stored. This is the usually the directory where you will set all the access restrictions.
One way is to create a child directory to store all the stuff and lock up the parent directory from ALL access, except yourself. (".htaccess" file)

This is due to the fact that the home directory provided by ISPs in general are insecure and any password files stored there can be easily retrieved by any competent hacker, security applet or not

2) you need the blessings of the ISPs to run a security program or applet when its done one level below your home. Check with you ISP.

Basically, you need to get the approval of the ISP to change the security settings of your site.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse shortcuts 9 63
Desingning Refactoring existing code 2 26
login form jsp example 2 37
running on tomcat not jboss eap 7.0 3 18
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question