HighTechTalks DotNet Forums  

Denying network access to all but one application

Dotnet Security microsoft.public.dotnet.security


Discuss Denying network access to all but one application in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rahul
 
Posts: n/a

Default Denying network access to all but one application - 09-11-2007 , 11:46 AM






I built a Database application that used Access as its DB backend for a
library. Initially, the application was meant to support only routine tasks
of the library staff, and was not available to the public. However, it has
been so successful that the library has decided to allow people to use it for
searching the library books.

Although security mechanisms were built into the application right from
scratch, but the file-serving nature of Access poses a problem. Due to its
file serving nature, an Access database needs to be available in a shared
network folder, for allowing clients to access it.
And here's the catch. A mischevious person can use Explorer etc. to directly
access the database. Although I can add a $ to the network name of the shared
folder to prevent it from being shown in explorer, but that doenot prevent
one to enter the path directly, in case he comes to know about it somehow.

Now, with my knowledge of Windows & .NET security mechanisms, I have found
one way to prevent this. I can create a Guest account on clients, & use
gpedit to deny it all Network permissions accept for .NET applications.
Next, I can configure .NET to deny Network access to all but my application.

Will this work in restricting Network access from clients to just my
application? Is there a better solution?
Also, I am not too comfortable with playing around gpedit & caspol.exe. Can
someone describe how to accompolish the above tasks using these utilities, or
atleast point me to a resource, which could be of help??

Reply With Quote
  #2  
Old   
Dominick Baier
 
Posts: n/a

Default Re: Denying network access to all but one application - 09-12-2007 , 07:56 PM






there are certainly group polices that allow to sandbox the whole system,
like removing explorer, deny access to the cmd, remove the start menu and
more....

Search for "Kiosk Mode"
-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Quote:
I built a Database application that used Access as its DB backend for
a library. Initially, the application was meant to support only
routine tasks of the library staff, and was not available to the
public. However, it has been so successful that the library has
decided to allow people to use it for searching the library books.

Although security mechanisms were built into the application right
from
scratch, but the file-serving nature of Access poses a problem. Due to
its
file serving nature, an Access database needs to be available in a
shared
network folder, for allowing clients to access it.
And here's the catch. A mischevious person can use Explorer etc. to
directly
access the database. Although I can add a $ to the network name of the
shared
folder to prevent it from being shown in explorer, but that doenot
prevent
one to enter the path directly, in case he comes to know about it
somehow.
Now, with my knowledge of Windows & .NET security mechanisms, I have
found one way to prevent this. I can create a Guest account on
clients, & use gpedit to deny it all Network permissions accept for
.NET applications. Next, I can configure .NET to deny Network access
to all but my application.

Will this work in restricting Network access from clients to just my
application? Is there a better solution?
Also, I am not too comfortable with playing around gpedit &
caspol.exe. Can
someone describe how to accompolish the above tasks using these
utilities, or
atleast point me to a resource, which could be of help??



Reply With Quote
  #3  
Old   
Rahul
 
Posts: n/a

Default Re: Denying network access to all but one application - 09-17-2007 , 10:14 AM





"Dominick Baier" wrote:

Quote:
there are certainly group polices that allow to sandbox the whole system,
like removing explorer, deny access to the cmd, remove the start menu and
more....

Can you point me to resources where I can get some quick tips to manipulate
these policies???


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.