Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:620535
More Search Options
RSS Available
Matching Posts
Re: Anonymous Web User and Database Authentication
http://weblogs.asp.net/jgalloway/archive/2008/04/13/encrypting-passwords-in-a-net-app-config-file.aspx
Posted to
Security
(Forum)
by
sswanner1
on 4/28/2009
Re: Anonymous Web User and Database Authentication
The safest way to do this is not store a password in the web.config AT ALL. I usually do the following: 1) Use integrated security in your connection string. This will pass the current identity to the database for authentication 2) In IIS security, set the anonymous user to a service account that you create on the domain with "NO PRIVILEDGES" 3) In your web.config, use identity impersonation (this will set the identity to the anonymous service account you set in IIS) 4) Grant necessary
Posted to
Security
(Forum)
by
sswanner1
on 4/27/2009
Re: static variable initialization
Initialize the variable from within GetInstance(object context)... If the object is null, create the object and return it. If the object is not null, just return the object. This ensures that the variable is only created once and only at the first call to GetInstance. Also, does the class need to be thread safe? Create a static System.Threading.Mutex variable in the class... Here's how your new class should look: partial class ContentStoreGlobal { private static readonly Dictionary<object
Posted to
C#
(Forum)
by
sswanner1
on 4/27/2009
Re: problem with sql query.
I would create a new control that inherits from label and override the method that renders. It would be at that point that I would find and replace the text, ie: (2) --> "John". I don't know how efficient it would be to read the database each time that the label renders, unless that is what you are wanting to do. I would load and store the mappings in session_start (again, this depends on how many mapping you are going to have). And then when the control renders, you can just pull
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sswanner1
on 2/3/2009
Re: SessionID not persistent
It seems to me that the best place to initialize your session is at Session_Start, no? Can you help me understand why you don't want to use global.asax? I ask because if there is a better way, I wouldn't mind using it, but I don't understand the thinking behind wanting to do it somewhere else? It seems like a bug to me, but apparently it is by design. There are some other threads that discuss the issue and why sessions behave this way.
Posted to
HttpHandlers and HttpModules
(Forum)
by
sswanner1
on 11/18/2008
Re: Controlling Session State
The subquery is (SELECT org_descr FROM tlb_organization)... You do not have a where clause, so it's returning every single org_descr from that table. Hopefully that table has the unique OrganizationID so you can filter by that.
Posted to
State Management
(Forum)
by
sswanner1
on 11/17/2008
Re: Controlling Session State
So in the dropdownlist of departments for admins, load it with the value being the unique department ID. When the item is selected in the dropdownlist, set the Session to the value they selected. If I'm misunderstanding, let me know.
Posted to
State Management
(Forum)
by
sswanner1
on 11/17/2008
Re: Controlling Session State
I'm having a hard time figuring out the connection between the session ID and the unique department ID. Can you clarify why these have to been the same?
Posted to
State Management
(Forum)
by
sswanner1
on 11/17/2008
Re: array list - problem
Show me what you have so far
Posted to
Getting Started
(Forum)
by
sswanner1
on 11/17/2008
Re: Create Web Application for IPPhone from .Net
Wouldn't that be nice :) Start learning objective C. It's pseudo object oriented and in my opinion, a real pain in the a**. What I've been doing is writing web services in .net and just using objective C to communicate with the web service to get the information and display it.
Posted to
Mobile and Handheld Devices
(Forum)
by
sswanner1
on 11/17/2008
Page 1 of 49 (483 items) 1
2
3
4
5
Next >
...
Last ยป
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
ASP.NET:
Bytes by MSDN: Brad Abrams Interview with Billy Hollis: Silverlight 4, RIA Services and VS2010
Mix Online:
Pictures or it Didn't Happen
Channel 9:
Reactive Extensions API in depth: even more Zip
TechNet Edge:
SDL For Agile
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online