Log In · Register

 
Login access
pandemonium
post Jul 23 2009, 04:39 PM
Post #1


the name's mario
******

Group: Official Member
Posts: 1,270
Joined: Jun 2008
Member No: 656,520



ok. i don't know how to have pages accesable to only some ppl..
no. i don't want to password protect the directory, it only gives you one username..
ok here it is what im planning
have a staff.sitename.com subdomain and have all of the pages under the staff subdomain to be protected.. i want to have a login system which is going to be accessible to about 10 ppl & each have they're own username.

how do i do that?
did i explain myself correctly?
PS. i want to use html not php
and i have XAMPP for testing pages just in case..
 
 
Start new topic
Replies
fixtatik
post Jul 23 2009, 06:28 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



^ Not to mention anyone could just open the passList.js file and see all the passwords.

@ OP: what do you mean by you don't want to password-protect the directory? If you don't protect it with a password, then anyone could get in there, unless you restrict it by IP address.
 
mipadi
post Jul 23 2009, 06:42 PM
Post #3


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



QUOTE(fixtatik @ Jul 23 2009, 07:28 PM) *
^ Not to mention anyone could just open the passList.js file and see all the passwords.


Or just disable JavaScript and, voilá, the "protection" is gone.

QUOTE(hermes @ Jul 23 2009, 05:39 PM) *
ok. i don't know how to have pages accesable to only some ppl..
no. i don't want to password protect the directory, it only gives you one username..
ok here it is what im planning
have a staff.sitename.com subdomain and have all of the pages under the staff subdomain to be protected.. i want to have a login system which is going to be accessible to about 10 ppl & each have they're own username.

how do i do that?
did i explain myself correctly?
PS. i want to use html not php
and i have XAMPP for testing pages just in case..


There are a couple of ways to do it:
  1. Contrary to popular belief, you can password-protected a directory for multiple users. You have to create a group that contains all the users who should have access, and then give the group read/write permissions for the protected directory. To do this, you really have to have admin access to your server, or know someone who does.
  2. Otherwise, you'll have to use server-side scripting like PHP.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: