Hi all,
The following are my need:
1. When a PC starts, my software should come up directly without any user
interaction.
2. Only my software will be accessible to the user and they will not be able
to access anything from Windows - nothing at all.
3. A super user can access the software as well as the full windows
The windows OS may be windows 2k, windows XP or windows 2k3.
Temp solution:
I can place my software in start-up and will make it full screen, without
any control buttons like minimize, maximize, close, resize etc so user will
see always my software at start up.
Problems: Some one can restart PC and in Safe-mode or other options they can
use and they may access windows and if I am disabling all these options
some-how then when we need PC access for maintenance or some other
administrative purpose then it will not be available to me. So, for that I
will create a super user account in my software through which super user can
access the window.
Also, if I make Alt + Ctrl + Del, Alt + Tab, Ctrl + Shift + Esc, Windows +
D, Windows + E, Windows + R etc keys disable then I will need to manipulate
all these keys individually and may be there will be lot more.
So I need some way through which I can restrict the normal user to access
anything from windows and they will only be able to access my software
only - nothing else and a super user can access the software as well as
normal windows access too - and all I want to do programmaticall y and if
possible using only C# - but its not hard requirement - I can use other
languages too.
I heard about user - security policies but I don't know any programmatic way
to work with it, also dont know what and how to do....
Any pointers/help or your guidance will be very much helpful to me
Thanks in Advance,
Mahesh Devjibhai Dhola
"Empower yourself...." 9 1962
Hi Mahesh!
(removed wrong groups)... 1. When a PC starts, my software should come up directly without any user interaction.
Write a service: http://www.codeproject.com/system/ServiceBase.asp
2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. 3. A super user can access the software as well as the full windows
Only create one user-account (admin)...
--
Greetings
Jochen
My blog about Win32 and .NET http://blog.kalmbachnet.de/
you could use a service, but this does not prevent someone from logging off
or starting a new process by ctrl alt del, selecting File->new task manager
and selecting 'new process' from the menu.
also, placing your app full screen does not prevent someone from pressing
the windows key to show the start menu, so some problems remain.
another solution is to replace the windows shell. for more info see http://shellcity.net/
that way, only your application would be started, and not the windows shell
with the desktop, explorer, ...
some googling should reveal more articles about this topic.
kind regards,
Bruno.
"Jochen Kalmbach [MVP]" <no************ ********@holzma .de> wrote in message
news:es******** ******@TK2MSFTN GP09.phx.gbl... Hi Mahesh!
(removed wrong groups)...
1. When a PC starts, my software should come up directly without any user interaction.
Write a service: http://www.codeproject.com/system/ServiceBase.asp
2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. 3. A super user can access the software as well as the full windows
Only create one user-account (admin)...
-- Greetings Jochen
My blog about Win32 and .NET http://blog.kalmbachnet.de/
Hi Bruno! you could use a service, but this does not prevent someone from logging off or starting a new process by ctrl alt del, selecting File->new task manager and selecting 'new process' from the menu.
If no-one can logon, why is there a chance to log-off???
another solution is to replace the windows shell. for more info see http://shellcity.net/
that way, only your application would be started, and not the windows shell with the desktop, explorer, ...
But if a user is admin or has apropriate right on the registry it does
not really help you...
The only solution is to remove all accounts except the "admin-account"
and let your program run as service...
--
Greetings
Jochen
My blog about Win32 and .NET http://blog.kalmbachnet.de/
> The only solution is to remove all accounts except the "admin-account" and let your program run as service...
i agree with you 100% in everything.
the only snag is that i had the impression that his application runs with a
user interface
"Only my software will be accessible to the user"
while it is possible to run services with a GUI, it is discouraged by
microsoft.
that doesn't prevent you from doing it of course. i have done it myself on
one occasion where it was required by the customer.
the problem that came up is that it is apparently not possible to show a
user interface on top of the 'Logon' screen. as soon as someone logs on the
service GUI appears. as soon as the user logs off, it disappears again.
i didn't find a workaround for this, but in my situation it was not
important.
that is why i think progamming a service is not going to solve his problem.
another approach would be to replace the explorer with IE and run the
application as a kiosk style web application. this is documented in MSDN.
kind regards,
Bruno.
Mahesh,
What you are looking for is a kiosk app. I would do a google search on
it (and maybe windows as well) and see what that turns up. It should give
you some information you are looking for.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Mahesh Devjibhai Dhola" <dh*********@ho tmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi all, The following are my need: 1. When a PC starts, my software should come up directly without any user interaction. 2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. 3. A super user can access the software as well as the full windows
The windows OS may be windows 2k, windows XP or windows 2k3.
Temp solution: I can place my software in start-up and will make it full screen, without any control buttons like minimize, maximize, close, resize etc so user will see always my software at start up. Problems: Some one can restart PC and in Safe-mode or other options they can use and they may access windows and if I am disabling all these options some-how then when we need PC access for maintenance or some other administrative purpose then it will not be available to me. So, for that I will create a super user account in my software through which super user can access the window. Also, if I make Alt + Ctrl + Del, Alt + Tab, Ctrl + Shift + Esc, Windows + D, Windows + E, Windows + R etc keys disable then I will need to manipulate all these keys individually and may be there will be lot more.
So I need some way through which I can restrict the normal user to access anything from windows and they will only be able to access my software only - nothing else and a super user can access the software as well as normal windows access too - and all I want to do programmaticall y and if possible using only C# - but its not hard requirement - I can use other languages too.
I heard about user - security policies but I don't know any programmatic way to work with it, also dont know what and how to do....
Any pointers/help or your guidance will be very much helpful to me
Thanks in Advance,
Mahesh Devjibhai Dhola "Empower yourself...."
"Bruno van Dooren" <br************ **********@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
|> The only solution is to remove all accounts except the "admin-account"
and
| > let your program run as service...
|
| i agree with you 100% in everything.
| the only snag is that i had the impression that his application runs with
a
| user interface
| "Only my software will be accessible to the user"
|
| while it is possible to run services with a GUI, it is discouraged by
| microsoft.
| that doesn't prevent you from doing it of course. i have done it myself on
| one occasion where it was required by the customer.
|
| the problem that came up is that it is apparently not possible to show a
| user interface on top of the 'Logon' screen. as soon as someone logs on
the
| service GUI appears. as soon as the user logs off, it disappears again.
| i didn't find a workaround for this, but in my situation it was not
| important.
|
| that is why i think progamming a service is not going to solve his
problem.
|
| another approach would be to replace the explorer with IE and run the
| application as a kiosk style web application. this is documented in MSDN.
|
| kind regards,
| Bruno.
|
|
It's not only discouraged, Vista no longer supports it. Services do run in a
non-interactive user context, the user's profile is not loaded, that means
you have to enable "interact with the desktop" and run as localsystem and
you have to load the users profile and the environment block, you need to
disable all controls that could allow the user to access the desktop (the
shell). Sure you can replace the shell as well. The largest drawback of this
all is if the application crashes, it returns control to the desktop (the
shell) but the user runs as localsystem (SYSTEM), so make sure your shell is
really restricted.
Willy.
Try this out. It's in VB but I'm sure you can figure it out. http://vbaccelerator.com/home/VB/Cod...ps/article.asp
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:ep******** ******@TK2MSFTN GP09.phx.gbl... Mahesh,
What you are looking for is a kiosk app. I would do a google search on it (and maybe windows as well) and see what that turns up. It should give you some information you are looking for.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Mahesh Devjibhai Dhola" <dh*********@ho tmail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi all, The following are my need: 1. When a PC starts, my software should come up directly without any user interaction. 2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. 3. A super user can access the software as well as the full windows
The windows OS may be windows 2k, windows XP or windows 2k3.
Temp solution: I can place my software in start-up and will make it full screen, without any control buttons like minimize, maximize, close, resize etc so user will see always my software at start up. Problems: Some one can restart PC and in Safe-mode or other options they can use and they may access windows and if I am disabling all these options some-how then when we need PC access for maintenance or some other administrative purpose then it will not be available to me. So, for that I will create a super user account in my software through which super user can access the window. Also, if I make Alt + Ctrl + Del, Alt + Tab, Ctrl + Shift + Esc, Windows + D, Windows + E, Windows + R etc keys disable then I will need to manipulate all these keys individually and may be there will be lot more.
So I need some way through which I can restrict the normal user to access anything from windows and they will only be able to access my software only - nothing else and a super user can access the software as well as normal windows access too - and all I want to do programmaticall y and if possible using only C# - but its not hard requirement - I can use other languages too.
I heard about user - security policies but I don't know any programmatic way to work with it, also dont know what and how to do....
Any pointers/help or your guidance will be very much helpful to me
Thanks in Advance,
Mahesh Devjibhai Dhola "Empower yourself...."
Any thoughts on if this works on PDA devices (PPC and/or WinCE)? I gave it a
quick try and got some errors - chopped up your code to remove all the
unsupported stuff I could find and then got an unsupported exception in
CreateDesktop() .
Thanks
"Rocky" <no*****@nowher e.com> wrote in message
news:eK******** ******@TK2MSFTN GP11.phx.gbl... Try this out. It's in VB but I'm sure you can figure it out. http://vbaccelerator.com/home/VB/Cod...ps/article.asp
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:ep******** ******@TK2MSFTN GP09.phx.gbl... Mahesh,
What you are looking for is a kiosk app. I would do a google search on it (and maybe windows as well) and see what that turns up. It should give you some information you are looking for.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Mahesh Devjibhai Dhola" <dh*********@ho tmail.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi all, The following are my need: 1. When a PC starts, my software should come up directly without any user interaction. 2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. 3. A super user can access the software as well as the full windows
The windows OS may be windows 2k, windows XP or windows 2k3.
Temp solution: I can place my software in start-up and will make it full screen, without any control buttons like minimize, maximize, close, resize etc so user will see always my software at start up. Problems: Some one can restart PC and in Safe-mode or other options they can use and they may access windows and if I am disabling all these options some-how then when we need PC access for maintenance or some other administrative purpose then it will not be available to me. So, for that I will create a super user account in my software through which super user can access the window. Also, if I make Alt + Ctrl + Del, Alt + Tab, Ctrl + Shift + Esc, Windows + D, Windows + E, Windows + R etc keys disable then I will need to manipulate all these keys individually and may be there will be lot more.
So I need some way through which I can restrict the normal user to access anything from windows and they will only be able to access my software only - nothing else and a super user can access the software as well as normal windows access too - and all I want to do programmaticall y and if possible using only C# - but its not hard requirement - I can use other languages too.
I heard about user - security policies but I don't know any programmatic way to work with it, also dont know what and how to do....
Any pointers/help or your guidance will be very much helpful to me
Thanks in Advance,
Mahesh Devjibhai Dhola "Empower yourself...."
Mahesh Devjibhai Dhola wrote: Also, if I make Alt + Ctrl + Del, Alt + Tab, Ctrl + Shift + Esc, Windows + D, Windows + E, Windows + R etc keys disable then I will need to manipulate all these keys individually and may be there will be lot more.
I can strongly recommend KCSDK from Meliora Software, which does exactly
what you want. I have very good experience with it (with a kiosk
application that we developed). It can disable any key combination
(Ctrl+Esc, Ctrl+Alt+Del, Alt+Tab): http://www.meliorasoft.com/kits/keyboard/index.php
Tom This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Bailo |
last post by:
The war of the OSes was won a long time ago.
Unix has always been, and will continue to be, the Server OS in the form
of Linux.
Microsoft struggled mightily to win that battle -- creating a poor man's
DBMS, a broken email server and various other /application/ servers to
try and crack the Internet and IS markets.
In the case where they...
|
by: Stan Weiss |
last post by:
I have a program writeen in Microsoft QC 2.5 for DOS which has a very
simple interface of using printf and sscanf also gets and puts. Is there
an easy way to convert this to Window?
Thanks
Stan
|
by: Chris |
last post by:
Hi,
New to C# programming.
I'm trying to implement some simple security in my website.
Basically a user cannot surf to secured aspx pages simply by accessing them
directly through the address bar. If they have not logged in and created a
forms authentication cookie they will be redirected to a friendly page
telling them the page is...
|
by: Jeremy S. |
last post by:
Sorry if this is too far OT - I posted this in the IIS group and got no
response - so here goes:
What would be a good or recommended way to make a Web site in IIS6
inaccessible to users on the Internet. My situation is that I will
periodically update a ASP.NET Web application. While I am making the update
(which will take only a couple of...
|
by: Just Me |
last post by:
If I periodically check to see if the floppy is ready, the drive will each
time make a little noise.
I've been up against this before and could never find a way to check to see
if the floppy drive is ready without making the drive make that grinding
noise.
Does anyone know a way?
Thanks in advance
| |
by: Mahesh Devjibhai Dhola |
last post by:
Hi all,
The following are my need:
1. When a PC starts, my software should come up directly without any user
interaction.
2. Only my software will be accessible to the user and they will not be able
to access anything from Windows - nothing at all.
3. A super user can access the software as well as the full windows
The windows OS may be...
|
by: Chris Gage |
last post by:
I'm a longtime *nix guy and am fairly comfortable "over there" although I am a developer and not a sysadmin, mostly J2EE stuff.
I recently got the Microsoft "Action Pack" as a partner. It has legit licenses for a bunch of Microsft software for development/evaluation purposes. I decided to install Windows Server 2003 - the first time I have...
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I prompt a "Save As" dialog for an
accepted mime type?
-----------------------------------------------------------------------
It is not possible with client-side JavaScript.
Some browsers accept the Content-Disposition header, but this
must be...
|
by: AmberJain |
last post by:
Windows Autorun FAQs: List of autostart locations
Linked from the Original article- "Windows Autorun FAQs: Description".
Que: Can you list all the autostart locations for windows?
Ans: Here is a comprehensive list of all autostart locations for Windows OSes:
NOTE : These are some abbreviations used in this list. Please note them...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |