Modal App, that will freeze Windows?

J

jacquesvdz

Hi

Hope you guys can help me with this?

I live in a house with 10 people.In the beginning wehn there were only
two people, I gave them my password for the use of my pc.

But since I got Internet at my home, everybody thinks its fun to use my
pc.

I cant change my password, cause I have vnp connection to my work's
domain.

This is my idea:

Write a application and throw it in startup.
This application will be modal and will ask for a username and
password, when it is correct, they will only have access to internet
explorer.I will keep a log file in the background, that will give me
the time of each user, so that i can charge them on the end of the
month.

But if I can only start with n modal form with hardcoded Password, that
will freeze windows, it will be ok.But seems like you have to have a
parent for a modal form, witch means it will only be modal to my
application(Parent).I want windows to be the parent

Please help me if you can?

Thanks for your time
 
N

Nicholas Paldino [.NET/C# MVP]

Quite honestly, change your password. Give everyone else their own
accounts and limit access through NTFS permissions.

On top of that, changing your password locally should not change your
settings for your VPN connection. The credentials are stored, not passed
through by the currently logged in user (for the VPN client in Windows, that
is), you just have to make sure that the credentials are saved for only you.

Hope this helps.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I cant change my password, cause I have vnp connection to my work's
domain.

What one thing has to do with the other?

You can change your windows password and that has no connnection with your
VPN , each vpn settings is independend of each other and of the windows's
credentials.
 
K

Kevin Spencer

I cant change my password, cause I have vnp connection to my work's

That does not compute. You are an administrator on that computer. You can
change your machine login password without changing the VPN password.
Believe me, this is a heck of a lot easier than what you propose. Then you
can lock everyone else out.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
 
W

Wolf

Ok, thanks for everyone's help.I've changed my password and you guys
were right.Doesn't seems to affect the domain, but it did with Source
Save and some machines on the domain?
 
S

Stoitcho Goutsev \(100\)

I see the the other guys already gave you the advice that I'd give you. I
just want to make clear that you cannot write a application that stays modal
to the whole system. In normal situation no application can take over the
whole system without this we'll go back to Windows 3.x or earlier era.

If you need to do something like this you better try to fine some
internet-cafe software.
If you want to write one by yourself good start is to look at the GINA
(MSFGina.dll). If you want costumized log on you need to replace the
standard one with costumized version. There are a lot of documents
(including Microsoft's) how to do that. Just google for these words.

I'm not 100% sure, but I don't think this can be done using .NET though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top