Solved

implementing login info for web services?

Posted on 2006-06-22
2
215 Views
Last Modified: 2006-11-18
.We have to write an API to expose a couple of our functions.

1) The below is the class that we would want to be exposed as webservices. We have to put security in place so that authenticated users can use this API. Also, we should be able to track their usage into a database.

I guess this is a simple solution. How can I comeup with a robust solution, say for growing business, if we want to expose Trucks we have (hypothetical).


Client{
         int userName;
         string Passowrd;
}



public class OurCars {

 GetCarInfo( int CarID, ref Client client);
 GetCars(ref Client client);
 GetOtherCars(ref Client client);

}



0
Comment
Question by:tech_question
[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
  • 2
2 Comments
 
LVL 12

Expert Comment

by:topdog770
ID: 16963457
It seems like, at the simplest you are already there..

Have form data that asks for a user name and password and obtains a vehicle id number

make a web service call, GetCarInfo for example, that:

1. determines if the user name and password are valid
2. determines if validated user has rights to get car info and possibly for specific vehicle id number
3. returns the car information for specific vehicle id number



0
 
LVL 12

Accepted Solution

by:
topdog770 earned 500 total points
ID: 16963488
implied pieces seem to be:

Admin piece that allows users to be created, assigned password, optionally assigned rights to specific cars or functionality

// one approach
Web service that provides user authentication [and admin functions?]
Web service that provides vehicle admin functions [ data creation needed? ]
Web service that provides access to car data
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 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