Solved

RAS API

Posted on 1997-07-07
3
468 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 38
fix34  challenge 9 98
mapBully challenge 6 92
wordappend challenge 8 86
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

746 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

12 Experts available now in Live!

Get 1:1 Help Now