Microsoft
Software
Hardware
Network
Question : Windows Authentication with User and Roles management in SQL Server
Hello.
Prerequisites:
ASP.Net 2.0, SQL Server 2005 (on Windows Server 2003), Visual Studio 2008.
My application will be within an intranet domain, so Windows Authentication will be used for my users, and Sql Server username&password will be used in my connection string.
Only some of Active Directory users will have access to my web application.
Users will have roles assigned - based on these roles, they will be granted access to application pages and/or parts of pages (for example, divs, hyperlinks, SiteMenu, and so on). Moreover, each user will have an agent_code that will provide access to their own customer base records only.
Therefore I need to keep the user list within my sql database, because I need also the user management via an aspx form
My question is if I could use SqlMembershipProvider for this and in what way?
My current implementation is by storing User.Identity.Name in a session variable, and retrieving the user parameters by connecting to sql server and checking against User.Identity.Name, but it seems to me not to be very "professional".
Thanks
Answer : Windows Authentication with User and Roles management in SQL Server
Hmm. Try changing it to: "21232f297a57a5a743894a0e4
a801fc3". This is not salted, but I think joomla will create the salt after you log in for the first time. The hash value is "admin"
Random Solutions
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
access to css 11503 using GUI
Adding URL Parameter
All Exchange 2007 email shows internal IP address of ISA server rather than origin address
Java Not Working in Internet Explorer or Firefox
How can I databind with a default entry of string.Empty
"404 - File not found" for Default .aspx on IIS 7.5
How to save images and image file paths into SQL from delphi form
Comparison Netgear ReadyNAS vs. Buffalo Terastation
WAKE ON LAN