Solved

ASPState Table

Posted on 2004-03-30
3
632 Views
Last Modified: 2007-12-19
I'm setting up Session Variable with SQLServer mode

Web.config section:
<sessionState
    mode="SQLServer"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;user id=sa;password=mypassword"
    cookieless="false"
    timeout="20"
/>

I don't want to have my sa password in a file.  Is there anyway to get around this without using window authentication and having to setup permissions for every user in ASPState table.

Can I perhaps force it to somehow use my machinename/ASPNET.  I don't want to store any passwords
0
Comment
Question by:barnetjeb
3 Comments
 
LVL 22

Accepted Solution

by:
Snarf0001 earned 500 total points
ID: 10716423
You would have to use integrated security:

  "Data Source=127.0.0.1; Integrated Security=SSPI;"

which would then use the logon credentials of the windows user, but it has some issues
see the following article:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;324479
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now