Solved

ASPState Table

Posted on 2004-03-30
3
640 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

690 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