Solved

RAS API

Posted on 1997-07-07
3
469 Views
Last Modified: 2013-11-20
Hi,I have an application written in Visual C++ v5, running on NT4 that allows users to dial into a NT box. The users are  prompted for a username/password and then a telnet connection is automatically started to a host. As well as loginname and password authentication there are also various token passing/challenge response authentication systems that can be used. All access to the system is also logged to a SQL server.  What I would like to be able to do is keep the loginname password and token passing/challenege response system but instead of opening a telnet connection somehow start a RAS connection on the incoming port. Therefore after a user has been authenticated using my program a RAS connection is started.  Is this possible?I cannot find much infomation on the RAS api.  The info I have found allows adding entries to the RAS phone book and making outgoing ras calls.Thanks Robert
0
Comment
Question by:Robert99
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
vinniew earned 100 total points
ID: 1302479
NationsBank did it this way:


Laptop user Ras's in to a server w/user and pass.  Third-party software security key starts up, asks user for password.  All communication is then secured, server is open for user.  All 700+ servers can be seen in Network Neighborhood for use.  So the third-party key-encryption started after the RAS was up and running on both server and client.

V

0
 

Author Comment

by:Robert99
ID: 1302480
OK, So it is possible. But where do I find the infomation on the APIs to use


0
 
LVL 3

Expert Comment

by:vinniew
ID: 1302481
There's a sample program called Rasberry on VC++ 5.0.  That's for dialling out.

As far as what you're doing goes, what ports are you using?

My idea would be to create a handle to that incoming inetaddr:port and then pass that handle to the ras API's that listen for a connection.

I think you can screw around with handles like that using CreateFile, ReadFile, WriteFile.  That's how I redirected stdout to a socket once.

V

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatSeparator  java  challenge 13 56
Shell script to login to remote m/c and execute commands 10 78
zeroFront challenge 7 79
wordappend challenge 8 143
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now