Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

How do you do....it?

How do you do it forum sponsored by
How do you do it Sponsored by Citnexus

Do you know how to do it? Do you want to let other people know? Post them here. We'll move them once we get a Wiki setup.

Go Back   EduGeek.net Forums > Technical > How do you do....it?
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 25-09-2007, 10:57 AM   #1
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,847
uk uk lancashire
Thanks: 2
Thanked 32 Times in 26 Posts
Rep Power: 19 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Help write a guide for Software restriction policies for USB

This topic is everywhere but there all lots of posts with a lot of padding.
You can get the basics but there is no defintive source of information in one place and trust me I have read through every post!!!

There is certain information I am missing regarding paths and such. Including how to ban all and allow a few. Is it a case of disallow *.* then allow *.doc?
Things I can start with are the use of USBDLM to fix your USB drive letters.

I am looking for specific information on the paths used and how multiple levels of paths are dealt with. I have seen this example:

*.swf
*\*.swf
*\*\*.swf etc

Is this how other people are doing it?

Please provide all the information you can regarding this subject then it is all in one place and I will put it on the wiki.

Cheers

ChrisH
  Reply With Quote
Old 25-09-2007, 11:27 AM   #2
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,841
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Help write a guide for Software restriction policies for USB

I believe in the long run, the 'whitelist' mentality is the more robust solution. So basically you have a policy that denies everything, then you allow specific files, applications and folders until your system does everything you need it to.

To address your specific question. Imagine you had implemented your above rules on students folders via a mapped drive. The above rules would stop

H:\mygame.swf
H:\games\mygame.swf
H:\.superhiddenfolder\games\mygame.swf

However it would not stop:

H:\work\other\games\mygame.swf

because your file restriction policy only blocks to a depth of two folders. Therefore we need to know, what's the folder depth limit on an NTFS partition? Unhelpfully, the answer is that there isn't one. However there is a limitation in the Windows shell of 255 characters.

So what kind of depth does that work out to be? Well, lets see. If we've accessing the path via a mapped drive, we must account for the drive letter in this path, 3 characters. We must also append the minimum file name length, which is a single character name plus a 3 character extension. Therefore, the maximum folder depth using 8.3 format file names is (255 - 3 - 4)/2 = 124. If we omit the drive mapping (for example, when using folder redirection) this limit will actually decrease, depending on the naming convention of your DFS shares or server names.

Clearly, to implement this is insane. So I'd like to refer you back to my original point.
  Reply With Quote
Old 25-09-2007, 12:06 PM   #3
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,847
uk uk lancashire
Thanks: 2
Thanked 32 Times in 26 Posts
Rep Power: 19 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: Help write a guide for Software restriction policies for USB

Ok thats good. But basically you are saying for a blanket ban to start with your going to have start to with

h:\ or will you have to resort to
H:\*\*
H:\*\*\* etc for a good few levels?

Also the other question the has arisen is the designated file type properties. If I want to be banning mp3 and swf etc do these need to be added into this dialogue or is it unrelated?

Keep it coming!
  Reply With Quote
Old 25-09-2007, 12:31 PM   #4
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,841
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Help write a guide for Software restriction policies for USB

Ban everything (by setting the default security level to disallowed), then open up files and folders as required. Stick to using hash rules rather than path rules as much as possible. Also, you absolutely must have a test environment setup to check things before implementation. Over restrictive polices can render machines unusable.

Yes, every file type you want to control must be added to the dialogue, otherwise the polices will have no affect.
  Reply With Quote
Old 25-09-2007, 12:38 PM   #5
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,847
uk uk lancashire
Thanks: 2
Thanked 32 Times in 26 Posts
Rep Power: 19 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: Help write a guide for Software restriction policies for USB

I am under a test OU so nobody else is being affected. Luckily the default rules on the policy stop you getting into too much trouble unless you start changing them
  Reply With Quote
Old 25-09-2007, 03:14 PM   #6
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,847
uk uk lancashire
Thanks: 2
Thanked 32 Times in 26 Posts
Rep Power: 19 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: Help write a guide for Software restriction policies for USB

Ok new problems now. I have it defaulting to disallowed. This seems to be working well for scripts and exe files but its not working for MP3 etc which I would like to add.
I have added MP3 to the designated file types but they are still allowed to play. Is this some kind of limitation? I thought it might be because the file is played with something else, but then I found my logon script wasnt running which runs under script so that must be the case as after I added a rule for netlogon the scripts ran fine. Can anyone shed any light on this?
Nearly there now it seems guide coming soon once everything is ironed out.
  Reply With Quote
Old 25-09-2007, 08:51 PM   #7
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,847
uk uk lancashire
Thanks: 2
Thanked 32 Times in 26 Posts
Rep Power: 19 ChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: Help write a guide for Software restriction policies for USB

Any takers? Come on dont be shy?
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking Flash Games Software restriction Policies... Hash MyDejaVu Windows 20 05-03-2008 10:45 AM
Software Restriction Policies - Allow ONLY certain software link470 Networks 2 01-12-2007 07:48 PM
Software restriction policies on USB sticks Kyle Windows 11 20-04-2007 06:38 PM
Software Restriction Policies wesleyw Windows 14 12-12-2006 12:35 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 01:18 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net