Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with users homedirectory

Status
Not open for further replies.

Duckie66

Technical User
Nov 12, 2003
19
FI
Hi!

I'm currently authenticating users in with my PHP script. Usernames and passwords are red from the sql-database as well as users homedirectories. I want to use one shared login-page for all the users and then redirect them to their homedirectories.
I'm using IIS 6.0 (Windows Server 2003) as my webserver. What would be the easiest way to redirect users to their homedirectories? I consider that the authentication is the biggest problem in my case. I can't want to redirect them directly because the direct address is then shown in the address bar and too clever clients want to use that shortcut. In that case I should also create all the accounts twice - to a database and to a windows-server accounts. I suppose.
Would it be possible to use one 'hard-coded' user in php-login? So users get into my login page and enter their passes which are checked in PHP-script. Then they could be authenticated and redirected to hardcoded-pass-protected part. How could this be done? Or have you any other ideas?

Thanks for advance,

Duckie
 
sure why not use sessions? create a dummy session in the login page and check it in the Home directory pages, this will stop users from directly accessing pages...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top