We help IT Professionals succeed at work.

login&password

anik
anik asked
on
Medium Priority
220 Views
Last Modified: 2013-12-25
I want the login&password prompt on my page. I have an access to modify any files on the system. Here's the questions.
1. How to setup?
2. How do I keep track whether someone already login so it will not prompt for login again.
Comment
Watch Question

Commented:
1. That depends on your server. Which one are you using?
2. This is handled by the browser automatically.

Commented:
In my opinion this is more than a 50 point question.

Also, you need to say which server software is being used.
Are you using an NSCA server?

If so then raise the points and I'll tell you all.
Commented:
Basically, this can be handeled using file security, and thus it is very plattform dependant.

- If using NT, create a user you wish to allow access, the add this user to the Security-list of the file you want to limit access to. Then remove the anonymous www-user from this list. (under IIS, this is IUSER_YOURMACHINE)

- If using Unix, you can play around with chmod to limit access to specific files or directories. As I have no knowledge of Unix, I will not dare to advice you on which values to set. And chmod is way to big to discuss/teach here anyway. There is, however, plenty of information on chmod and it's use around the net. A search with Hotbot or AltaVista should produce the information you need.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
If this is a unix server then the points should stay where they are because this is and easy question.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.