Solved

Login Help

Posted on 1998-07-21
1
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

617 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