Print Page | Close Window

Use on local machine w Windows Authentica

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4377
Printed Date: 08 April 2026 at 4:10pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Use on local machine w Windows Authentica
Posted By: reeljustice
Subject: Use on local machine w Windows Authentica
Date Posted: 20 July 2003 at 11:29am

I would like to work with WebWizForums on my local machine. 

I am relatively new to ASP so I hope this isn't too stupid a question.

My local machine database server is JoelJr

The WebMatrix installation I selected uses Windows Authentication. 

How do I edit the 'SQL_server_connection.asp' file to allow usage on my local machine?




Replies:
Posted By: michael
Date Posted: 20 July 2003 at 12:27pm
If you want to use WIndows Auth. for the forum you need to change your connection string to something like:
data source=ip_or_servername;integrated security=sspi;database=forumdb
Though the IUSR_Machinename account needs to be setup in the SQL then so it had select, update and insert rights.....

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: ScottM
Date Posted: 28 July 2003 at 9:01am

Hi,
Windows Authentication has been discussed in two threads but neither seems to describe my aim, which is to avoid having the user complete the login if they are already logged in as a valid user on the Windows NT domain. Say, the forum is integrated within a portal which requires the user to log in as a NT user. When the user does something eg post a reply, which would normally open the login page, I want their existing NT login to be accessed and their username to be used throughout the forum. If they try to do something which would normally open a login page and they are not logged in then they will be prompted for a login. How close can I get to this with minimal changes to the forum?

ScottM



Posted By: Bunce
Date Posted: 28 July 2003 at 7:08pm
This requires a change to the log in script of the forum code.

-------------
There have been many, many posts made throughout the world...
This was one of them.


Posted By: seidren
Date Posted: 08 August 2003 at 3:54am

Hey ScottM, I am trying to get the same thing done too.

I am new to asp so if I need some help.

i have asp code which, when you pass the username and password will authenticate. I dont know if just inserting this in to the login script would work.

Bunce!!! if you can tell us what changes should we do to the script it will be very help full.



Posted By: spg_
Date Posted: 01 July 2004 at 7:34am
Ive already done this change ( if you really searched hard, you wouldve found it on this very forum :) )

http://forums.webwiz.net/forum_posts.asp?TID= 5937&TPN=6

This allows for automatic authenication and registation of a user based on their Windows user login.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net