| Author |
Message |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Wed Apr 13, 2005 3:09 am Post subject: Password protected directory |
|
|
| I have set up a password protected directory on my web site (/BOARD) but seem unable to put anything in it using Microsoft FrontPage nor to access anything in it if I put something there using FTP. I have set up users for the directory but do not receive a login when I try to access it. Once I do get something there, how do I construct the hyperlink from my main site so I can send someone to the password protected area? |
|
| Back to top |
|
 |
WHFI_Beth Site Admin
Joined: 29 Sep 2004 Posts: 159
|
Posted: Sat Apr 16, 2005 10:57 pm Post subject: |
|
|
Hi,
If you are using front page you need to do this from inside the software usinga subweb.
The easiest way to this is to log in live to your web (http://www.webhostingforidiots.com/helpdesk/log_in_live.html)
Then make your directory and then right click on it and tell it to convert to subweb. and then you set the permissions for just that sub web.
Its under tools and security in your software. depending on which version of front page but it will say permissions.
That should get you pointed in the right direction.
Last edited by WHFI_Beth on Sun Apr 17, 2005 8:39 pm; edited 2 times in total |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Sun Apr 17, 2005 3:07 am Post subject: |
|
|
OK. Thanks, Beth. I've been trying to do it from Plesk and it puts a folder under httpsdocs while everyting else is under httpdocs. It's been driving me wild. I'll try logging in directly to the web site with FrontPage and see what I can come up with.  |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Sun Apr 17, 2005 3:36 am Post subject: |
|
|
That did it!!! Thanks a bunch, Beth!!!  |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Fri Apr 22, 2005 7:59 pm Post subject: |
|
|
| OK, Beth. Next question. Once my users log in, is there a variable avialable that I can use to see who they are? I would like to make decisions on which form(s) to show to specific users (some will have view authority and others will be able to make changes and enter data). |
|
| Back to top |
|
 |
WHFI_Beth Site Admin
Joined: 29 Sep 2004 Posts: 159
|
Posted: Fri Apr 22, 2005 9:05 pm Post subject: |
|
|
actually assign them each uniqe log ins and you can then view your log file for logins from each account.
don't just make one user. |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Sat Apr 23, 2005 3:52 am Post subject: |
|
|
| Sorry I wasn't clear. I want to programatically determine, from the login ID, if I should show the user a form that only allows them to look or should I show them the form that allows them to edit and add records to the database. Is there a variable that contains their login ID once they login that my PHP code can look at to decide which way to go? Something like $User or such. |
|
| Back to top |
|
 |
WHFI_Beth Site Admin
Joined: 29 Sep 2004 Posts: 159
|
Posted: Sat Apr 23, 2005 4:37 am Post subject: |
|
|
okay that one went way over my head because this gets into programming and I aint a programmer
But, if you were trying to track thing, each log in is captured in the log and can be easily found and parsed if just for statical purposes
Past that I dont know. But would say you need some sort of scripting, PHP or ASP (which I have to move you windows if you need ASP)
Hope this helps. |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Sun May 08, 2005 11:00 pm Post subject: |
|
|
| Thanks, Beth. Could you please pass this to a programmer? There is no doubt in my mind that there is an environment varriable set to the loginID that is available once the user is logged in. I want to be able to dynamically direct the user to the right place based on who is logged in. I cannot do that reliably by checking the log as there is a possibility that more than one user may be currently logged in. When my index.htm in the protected database opens, I need to be able to check who is logged in and give them appropriate choices. Some of my users will have read only access while others will be able to edit, add, and delete. If the user logged in has read only access, I need to only give him/her choices in index.htm that involve viewing specific pages. I don't want that user to see a menu choice to edit the membership file if he/she does not have that authority. |
|
| Back to top |
|
 |
WHFI_Beth Site Admin
Joined: 29 Sep 2004 Posts: 159
|
Posted: Sun May 08, 2005 11:06 pm Post subject: |
|
|
Hi,
This is actually a question for someone that you are going to have design an application for your you. Is that what you are are wanting. I can refer you to a developer, if you need one. |
|
| Back to top |
|
 |
ar2949
Joined: 11 Dec 2004 Posts: 23
|
Posted: Wed May 11, 2005 6:59 am Post subject: |
|
|
You have to write or have someone write a php script for you to handle the user logins. There are actually scripts for members areas available for download on various sites.
You are talking about displaying different pages based on who is logged in. This is a dynamic web page which has to be built with MySQL databases and PHP programming. You can not do this with normal static HTML pages. |
|
| Back to top |
|
 |
rfarber
Joined: 13 Apr 2005 Posts: 12
|
Posted: Fri May 13, 2005 9:57 am Post subject: |
|
|
| I already have the pages written in PHP to handle the dynamic interaction with the users. I just need to know the name of the variable that contains the login ID the user used to log in with. Once I have the login ID, I can have the pages display what I want that particular user to see. I just don't know what variable name to check for. |
|
| Back to top |
|
 |
|