Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Windows Authentication - mod ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedWindows Authentication - mod ?

 Post Reply Post Reply Page  <12
Author
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Direct Link To This Post Posted: 21 August 2003 at 1:52pm
I did a somewhat different approach some time ago. I place a small piece of code onto the header.asp/ where it checked, does the NT Users exist in the database? If yes, use that as the login user, if not forward to another page to automatically create that account leaving password empty. This is very much in a nutshell and I can see if I can find the code I used. I personally would feel uncompfortable storing the NT password in the database.
Back to Top
Corobori View Drop Down
Newbie
Newbie


Joined: 20 August 2003
Status: Offline
Points: 11
Direct Link To This Post Posted: 21 August 2003 at 2:11pm

I got it working,

I just changed this line:

strSQL = strSQL & "WHERE " & strDbTable & "Author.User_code = '" & strLoggedInUserCode & "';"

To this one:

strSQL = strSQL & "WHERE " & strDbTable & "Author.Username = '" & strLoggedInUserCode & "';"

On the top of what boRG said. Of course there is no audit around !

Back to Top
Dan1el N1el5en View Drop Down
Newbie
Newbie


Joined: 26 May 2003
Location: Denmark
Status: Offline
Points: 16
Direct Link To This Post Posted: 31 October 2003 at 6:09am

Michael can you tell us how ?

 

And to the rest of the discussion: I've tried and tried...both the two lines mentioned here and a edit in Register.asp

But nothing works other than the members tables have been emptied and noone can log in (luckly in my test forum)

Back to Top
wongpuikee View Drop Down
Newbie
Newbie


Joined: 06 February 2004
Status: Offline
Points: 7
Direct Link To This Post Posted: 09 February 2004 at 1:08pm
can anyone can create the mod to solve the above problems, pls help!!!!
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Direct Link To This Post Posted: 09 February 2004 at 6:37pm
Please do not dig out old posts. Do a search there is a mod already.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.