Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / March 2007

Tip: Looking for answers? Try searching our database.

Notification when CommManager run

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Azzi Stefano - 20 Mar 2007 17:33 GMT
Hello, i need to secure the CommManager.exe on my WM5 mobile. I need to write
in unmanaged code VC++ an application that receive a callback event from an
CommManager start-process  notification and manage process (run or kill it)
with a password request.

Is possible?

Thanks in advance.
Paul G. Tobey [eMVP] - 20 Mar 2007 18:11 GMT
Unless you are the device OEM, there's not really any way to be in the call
stack when a new process is started.  You could, I suppose, use the ToolHelp
functions to poll for the creation of a process with the EXE name of the
manager program and, when you detect that, pop up a full-screen, top-most
dialog and ask for the password.  You're going to be using a lot of cycles
polling, though.  You might be better off to build your own shell
application that would prevent any undesirable processes from being started
at all by the user (go into "kiosk mode").

Paul T.

> Hello, i need to secure the CommManager.exe on my WM5 mobile. I need to
> write
[quoted text clipped - 7 lines]
>
> Thanks in advance.
Azzi Stefano - 20 Mar 2007 18:26 GMT
Ok, so if i write my shell application..like wince service...how i can
prevent  that CommManager.exe application run?

> Unless you are the device OEM, there's not really any way to be in the call
> stack when a new process is started.  You could, I suppose, use the ToolHelp
[quoted text clipped - 18 lines]
> >
> > Thanks in advance.
Paul G. Tobey [eMVP] - 20 Mar 2007 18:57 GMT
Think of yourself as the *only* program that the user can see.  You show the
only user interface visible on the device.  It's just your window, no start
menu, no desktop, no task bar, no system tray.  Normally, you set your
window to run front-most and you disable and hide the task bar, preventing
Ctrl+Alt+Del and Alt+Tab sorts of things from doing anything and, since
you're in front, even the buttons on the outside of the device, though they
may launch programs, will not allow those programs to be seen, because your
window will be in front of them.

One of your program's features, then, will be some means of entering
Administrator Mode.  When the user does that (you decide how that happens,
whether with a password, or a fingerprint scan or whatever), you change your
window's settings so that it's no longer forced to the front, and you
reenable and show the task bar.  Now, the guy can do anything that he could
do normally on a Pocket PC device.  When he's done with administrator mode,
he switches back to user mode and you hide and disable the task bar, again,
and make your window front-most, again.

Paul T.

> Ok, so if i write my shell application..like wince service...how i can
> prevent  that CommManager.exe application run?
[quoted text clipped - 26 lines]
>> >
>> > Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.