Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: math question... Pin
Maximilien20-Aug-03 8:25
Maximilien20-Aug-03 8:25 
GeneralHelp in Recent file list Pin
Snyp20-Aug-03 5:55
Snyp20-Aug-03 5:55 
GeneralRe: Help in Recent file list Pin
David Crow20-Aug-03 7:44
David Crow20-Aug-03 7:44 
GeneralRe: Help in Recent file list Pin
G. Steudtel21-Aug-03 1:03
G. Steudtel21-Aug-03 1:03 
GeneralSending SMS messages Pin
Neil scsn20-Aug-03 5:35
Neil scsn20-Aug-03 5:35 
GeneralRe: Sending SMS messages Pin
Dangleberry20-Aug-03 6:05
sussDangleberry20-Aug-03 6:05 
GeneralRe: Sending SMS messages Pin
PJ Arends20-Aug-03 15:57
professionalPJ Arends20-Aug-03 15:57 
QuestionLoginging into a Domain? Pin
armentage20-Aug-03 5:10
armentage20-Aug-03 5:10 
At my company, we've got a client/server that requires user-names for security reasons. Some users can access more data than others. It runs on our company LAN, and is only used in-house. We use raw TCP/IP to do all of our communication (no SOAP or fancy XML stuff).

We've got a complex network with several domains and centrally administered user accounts, so we thought functions like GetUserName() are enough to know who we're dealing with (the app sends the name over with each request). Turns out we were wrong.

We have many users who go home and use Cisco VPN to run our app. Many of them run Windows98/ME, or XP without logging into our company domain. They'll have usernames like "Frank" instead of "FPrisco", and worse, they can make up any user name they want and pretend to be anyone.

I've looked into the Win32 security apis, and my god they are complicated. What we want to do is avoid jostling local users who have legitamately logged into the PC, vs people who are using non-authenticated logins on crappy OSes.

I have two specific questions:

1) There do not seem to be any standard OS dialog for handling a domain login (gathering the username, password, and domain-name and then doing the authenticate), a'la what you see in explorer when you try to access shares you are not authenticated for. Is there such a thing? Do all apps that can do domain logins re-implement this dialog?

2) In the absence of any library code to do (1), I've figured out how to determine whether a username/domain/password combinationis legitamate. Once I have a valid login, is there anyway to "set" this into the user's environment, so they are not-reprompted every time they start up our app, or use other network services that require a domain login?

Any help would be appreciated.

AnswerRe: Loginging into a Domain? Pin
armentage20-Aug-03 12:28
armentage20-Aug-03 12:28 
General- Screen Resolution - Pin
JensB20-Aug-03 5:08
JensB20-Aug-03 5:08 
GeneralRe: - Screen Resolution - Pin
armentage20-Aug-03 5:14
armentage20-Aug-03 5:14 
GeneralRe: - Screen Resolution - Pin
User 665820-Aug-03 5:28
User 665820-Aug-03 5:28 
GeneralRe: - Screen Resolution - Pin
armentage20-Aug-03 5:31
armentage20-Aug-03 5:31 
GeneralRe: - Screen Resolution - Pin
User 665820-Aug-03 5:41
User 665820-Aug-03 5:41 
QuestionCan we programatically set wifi card settings? Pin
Jim Howard20-Aug-03 4:25
Jim Howard20-Aug-03 4:25 
GeneralStreamable Objects Pin
ivanh20-Aug-03 4:02
ivanh20-Aug-03 4:02 
GeneralRe: Streamable Objects Pin
Steve S20-Aug-03 5:44
Steve S20-Aug-03 5:44 
GeneralRe: Streamable Objects Pin
ivanh21-Aug-03 2:17
ivanh21-Aug-03 2:17 
GeneralMS Exchange Server Problem: How to: Adding an Event Registration for a Folder. Please Help me ......... Pin
Atif Bashir20-Aug-03 3:50
Atif Bashir20-Aug-03 3:50 
GeneralDetect automate Pin
Jason Truong20-Aug-03 3:42
Jason Truong20-Aug-03 3:42 
GeneralPropertySheet Pin
hph20-Aug-03 3:31
hph20-Aug-03 3:31 
GeneralRe: PropertySheet Pin
Member 42425920-Aug-03 3:41
Member 42425920-Aug-03 3:41 
GeneralRe: PropertySheet Pin
hph20-Aug-03 3:51
hph20-Aug-03 3:51 
GeneralRe: PropertySheet Pin
hph20-Aug-03 4:00
hph20-Aug-03 4:00 
QuestionWhy .msi installer better that .exe ? Pin
vgrigor20-Aug-03 3:01
vgrigor20-Aug-03 3:01 

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.