Click here to Skip to main content
15,890,123 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Realtime event notification in ASP.NET NVC 4 and C# Pin
Richard Deeming23-Jan-14 7:13
mveRichard Deeming23-Jan-14 7:13 
Questionbus reservation - creating dynamic layout for bus seat structur. Pin
Dnyaneshwar@Pune22-Jan-14 21:50
Dnyaneshwar@Pune22-Jan-14 21:50 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
thatraja22-Jan-14 23:00
professionalthatraja22-Jan-14 23:00 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Shameel22-Jan-14 23:30
professionalShameel22-Jan-14 23:30 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Bernhard Hiller23-Jan-14 22:14
Bernhard Hiller23-Jan-14 22:14 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Ashok Natarajan28-Jan-14 0:39
professionalAshok Natarajan28-Jan-14 0:39 
QuestionRegarding web hosting Pin
Member 1025895222-Jan-14 21:10
Member 1025895222-Jan-14 21:10 
QuestionWCF in ASP.NET with authentication Pin
JD8622-Jan-14 15:32
JD8622-Jan-14 15:32 
I'm creating a WCF service to go in my ASP.NET application. I'm at the beginning stages so mostly what I have is design questions.

So basically there is data that I would like people to pull out but only if they are authenticated. (Everyone pulling data would be external). The way my application is designed is I have a certain ID that associates users with a specific company. So my end goal is to allow people with those companies to query data for their company only.

So my thought was to create a table in my database that would have three columns. CompanyID, UserKey, UserSecret. My thought was that they would somehow pass the userkey and usersecret when they first initiate the connection to WCF. On the backend it will retrieve the CompanyID based off the key and secret.

The reason for doing this is so when they call GetAllUsers() it will only get all users for their company and not other companies.

So my questions are:
* Is my design wrong or is there a better way to accomplish this?
* I chose not to use active directory authentication due to the added time it will take to authenticate a user against AD vs SQL

I was thinking along the lines of the way SoapHeaders work. They set the SoapHeader when they create teh connection. Then each method on the web service would compare the key & secret against the database to make sure it existed (if it did I would get the CompanyID back and use that for the methods such as GetAllUsers() )

Thanks in advanced!
AnswerRe: WCF in ASP.NET with authentication Pin
JD8622-Jan-14 15:59
JD8622-Jan-14 15:59 
QuestionLinux clients and ASP .NET on a Windows Server Pin
MikeAngel22-Jan-14 12:28
MikeAngel22-Jan-14 12:28 
AnswerRe: Linux clients and ASP .NET on a Windows Server Pin
Richard Deeming23-Jan-14 1:43
mveRichard Deeming23-Jan-14 1:43 
GeneralRe: Linux clients and ASP .NET on a Windows Server Pin
MikeAngel23-Jan-14 9:05
MikeAngel23-Jan-14 9:05 
Questionquestions of .net Pin
Member 1054081921-Jan-14 22:37
Member 1054081921-Jan-14 22:37 
AnswerRe: questions of .net Pin
Shameel21-Jan-14 22:52
professionalShameel21-Jan-14 22:52 
SuggestionRe: questions of .net Pin
Richard Deeming22-Jan-14 1:40
mveRichard Deeming22-Jan-14 1:40 
QuestionOpen source 3D scatter chart controls available in ASP.Net Pin
Kandepu Rajesh21-Jan-14 20:13
Kandepu Rajesh21-Jan-14 20:13 
QuestionRe: Open source 3D scatter chart controls available in ASP.Net Pin
thatraja21-Jan-14 20:35
professionalthatraja21-Jan-14 20:35 
QuestionHelp Me with the Code Pin
ArjanD21-Jan-14 8:29
ArjanD21-Jan-14 8:29 
AnswerRe: Help Me with the Code Pin
thatraja21-Jan-14 16:10
professionalthatraja21-Jan-14 16:10 
Suggestionneed the suggestion Pin
mprk20-Jan-14 0:13
mprk20-Jan-14 0:13 
AnswerRe: need the suggestion Pin
ZurdoDev21-Jan-14 5:11
professionalZurdoDev21-Jan-14 5:11 
QuestionHow to show an aspx page like a dialog Pin
Saeed Ansarinejad19-Jan-14 6:18
Saeed Ansarinejad19-Jan-14 6:18 
AnswerRe: How to show an aspx page like a dialog Pin
Abhinav S19-Jan-14 7:05
Abhinav S19-Jan-14 7:05 
AnswerRe: How to show an aspx page like a dialog Pin
Kornfeld Eliyahu Peter19-Jan-14 7:52
professionalKornfeld Eliyahu Peter19-Jan-14 7:52 
GeneralRe: How to show an aspx page like a dialog Pin
Saeed Ansarinejad19-Jan-14 9:42
Saeed Ansarinejad19-Jan-14 9:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.