file sharing

You are currently browsing the articles from MS Windows Articles, Reviews and Videos matching the category file sharing.

5 Easy to Follow Tips to Enhance Your Mac’s Security

PWN to OWN. This is the name of the contest that made most users worldwide seriously think about reading a book or two to learn about securing their ASAP. During the aforementioned contest a running Leopard was the first to give in to the intrusion attempts. It may not have been the brightest day in ’s history but it surely was the one when every owner out there gave a second thought to the “ are the most secure” theory.

So, if aren’t as secure as we have previously thought (I did too and even bet on the Vista that it would be the first to be compromised), what can we do to defend ourselves against attacks? One way would be to fire up the old integrated and configure it to accept only incoming connections from IP addresses we know.

Although this is a good thing to do, the integrated doesn’t do as good of a job as would want us to believe. If you are not a very experienced user you’ll probably end up just enabling the damn thing and what protection do you think you’ll get? I’ll tell you: not very much because the machine that got “owned” at the PWN to OWN contest had the default settings and it went down pretty fast.

I know, this really is kind of hilarious, but hey, what else can you do? See, really thinks about everything. It even allows you to stay online giving you a fake sense of , kind of like walking through a black alley with a gun in your pocket (a gun filled with blanks).

So, this time for real, what can you actually do to protect the data on your ? To your surprise, and mine, the answer is given by the guys at . Don’t know if you still remember but a while ago the company released a security configuration document for Leopard in which you can find a huge array of tips that can help you protect your more efficiently.

I have read the whole 240 pages and picked out the most important 5 tips – in my opinion – that you can use to be sure no one will ever be able to get access to your private data, or at least make their life a living hell while trying to breach into your system.

1 - Secure the sharing services

The first and easiest way that comes to mind when dealing with securing your data is to prevent access to it from the outside. The easy way to do that would be to secure its sharing services. How can this be done? Easy as pie: simply turn off the sharing services that you consider unnecessary and only leave running the ones that you really need.

Under this paragraph you will find the -line commands you will have to enter to stop the following sharing services: DVD or CD sharing, screen sharing aka VNC, (trough , SMB and AFP), sharing (HTTP), remote login (), remote management (ARD), Xgrid sharing, sharing and sharing. Quite a handful if you ask me and as many opportunities for strangers to get their hands on your data.

The following commands are all available in the Leopard published by at the beginning of June 2008. To be able to use them you have to open a Terminal window, write each of them in the -line and hit ENTER to run them. If possible use a copy/paste technique to be sure you don’t miss any characters because you will be the only one responsible in case you break your system.

## Disable DVD or CD Sharing.
service com..ODSAgent stop
## Disable Screen Sharing.
srm //Preferences/com..ScreenSharing.launchd
## Disable .
launctl unload -w /System//LaunchDaemons/.plist
## Disable SMB.
defaults delete //Preferences/SystemConfiguration/
com..smb.server EnabledServices
launctl unload -w /System//LaunchDaemons/nmbd.plist
launctl unload -w /System//LaunchDaemons/smbd.plist
## Disable AFP.
launctl unload -w /System//LaunchDaemons/
com..AppleFileServer.plist
## Disable Sharing service.
launctl unload -w /System//LaunchDaemons/org.apache.httpd.plist
## Disable Remote Login.
service stop
## Disable Remote Management.
/System//CoreServices/RemoteManagement/ARDAgent.app/Contents/
Resources/kickstart -deactivate -stop
## Disable Remote Events.
launchctl unload -w /System//LaunchDaemons/eppc.plist
## Disable Xgrid Sharing.
xgridctl controller stop
xgridctl agent stop
## Disable Sharing.
defaults write //Preferences/SystemConfiguration/com..nat NAT -
dict Enabled -int 0
launctl unload -w /System//LaunchDaemons/
com..InternetSharing.plist
## Disable Sharing.
defaults -currentHost write com.. PrefKeyServicesEnabled 0

2 - Secure local access to your system

Once you have stopped the unnecessary sharing services it is time to secure local access to your system. The easiest way to do this is by managing the users that can get administrative privileges on your system. In the UNIX world, obtaining such privileges means that you are able to use the sudo that will allow you to run any you want as the one and only superuser aka root.

Why is it important to restrict access to this ? Because if an intruder gains access to your and manages to get his/her hands on the root account (its hands if it’s some kind of super hacking robot) then he/she can do anything he/she wants on your system besides removing pieces of out of the case (although they can be disabled if the intruder has the necessary skills).

To restrict access to the sudo on certain accounts and only allow the trusted users to be able to run commands as superuser you will have to edit the /etc/sudoers file using the “sudo visudo” (without the quotes). Next, remove the line that begins with %admin and, for each user that you want to be able to get superuser privileges, add “user ALL=(ALL) ALL” (where user is the user’s shortname). Now what remains to be done is to save and quit.

After editing the /etc/sudoers file this way you will have to repeat the same steps if you add other users to the system and want them to be able to use sudo.

3 - Encrypt your home folder

Now that you have secured the and local access to your system and data, the time has come to further reinforce protection by encrypting your home folder. The easiest way to accomplish such a task is to use FileVault, an integrated that will help you encrypt a user’s home folder and files.

FileVault acts by moving everything you have in your home folder to a bundle disk image that can be encrypted using AES-256 encryption. The only downside to using it is that it will only act locally and will not protect and/or encrypt any data that you decide to move to a removable device or over the .

Despite the fact that FileVault is not able to protect data outside your home folder, you can still have a bit of enabled for the data that you temporarily store outside your home directory. When deleting such data you can make sure no one will ever get access to it by securely deleting it. Which brings us to the next .

4 - Securely erase data from your hard drive

I’ve mentioned above that you can securely erase data from your hard drive, which means that an ordinary deletion will not do the trick if you do not want later attempts of retrieving your data from your hard disk to be successful. When you delete something from the drive the system will not actually send it to oblivion. The only thing it actually does is remove the information related to that certain piece of data from the file system. In other words, it just causes itself a bad case of amnesia.

Albeit this will render all your attempts to recover the files using less advanced methods unsuccessful, there still are ways to retrieve it if you have the necessary . Such a solution is called recovery and it will be successful in its task if the hard disk space your data has been on has not been overwritten.

To make sure you will always securely erase your data from Finder go to Finder’s Preferences, click on the Advanced tab and there check the “Empty Trash securely” entry.

There are of course other ways to securely delete data on your using the Disk , the srm -line , securely emptying the Trash using Finder’s “Secure Empty Trash” option. To get a more detailed overview on how you can use them just ’s from HERE and head over to the “Securely Erasing Data” sub-chapter.

5 - Intrusion detection system

What do you call a secure system without an intrusion detection system? Well you can call it anything you want but one thing is certain: there is no system out there that can be considered 100% secure (except maybe the ones with no connection but even those can be stolen).

In case of an intrusion you definitely want to know everything possible related to it. As says, an intrusion detection system is the answer to this problem, because it will allow you to easily everything that happens on your and to examine the data that gets transferred through the interfaces.

The exact same system will be the one that will automatically alert you in case of suspicious activity and, most of the time, it will also prevent malevolent actions before they are even performed.

The intrusion systems that you can use are of two kinds: based and host based. From the first category I recommend you to install and use the free HenWen for that will allow you to run and configure Snort, which will scan the for undesirable traffic. The second category’s performer in my opinion is the also free Radmind Assistant, a solution that acts as a tripwire, being able to quickly detect and reverse changes to file system objects like folders, files, links, etc.

Share and Enjoy: del.icio.us StumbleUpon Facebook Google Furl Live MisterWong.DE NewsVine Reddit Slashdot Technorati YahooMyWeb BlinkList description Fark Netvouz Spurl MisterWong Webnews.de Blogsvine description IndiaGram kick.ie Taggly E-mail this story to a friend! Print this article!

Tags:, , , , , , , , , , , , , , , , , , , ,

Related posts

Written by Jason on August 6th, 2008 with no comments.
Read more articles on 1340 and 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Apple and Contributors and Firewall and Internet and Mac and Security and file sharing and mac os x and tip.

How to set permissions on a shared folder in Windows XP

By default, simple file sharing is enabled on a if the is not a member of a domain. With simple , you can share folders with everyone on your or and make folders in your user profile private. However, if simple is enabled, you cannot prevent specific users and groups from accessing your . If you turn off simple , you can permit specific users and groups to access a shared . Those users must be logged on with the credentials of user accounts that you have granted access to your shared .

If simple is enabled, you see the simple user interface appears instead of the and Sharing tabs. By default, this new user interface is implemented in XP Home Edition and in XP Professional if you are working in a . If you turn off simple , the classic and Sharing tabs appear, and you can specify which users and groups have access to on your .

Note To allow for specific users to access the share after the simple is disabled, you should configure both the permissions on the tab and the share on the Sharing tab of the share . permissions can only be set on a partition using file . If you the Every Group from the , you cannot access the share over the .

turn off simple

To disable simple , follow these steps:

1. Click Start, and then click My .

2. On the menu, click Options, and then click the View tab.

3. In the Advanced section, clear the Use simple (Recommended) check box.

4. Click OK.

share a or a drive with other users

To share a or a drive with other users, follow these steps:

1. Click Start, click My , and then locate the or drive that you want to share.

2. Right-click the or drive, and then click Sharing and .

3. On the Sharing tab, click Share this .

4. To change the share name of the shared or drive, type a new name in the Share name box. Other users see the new name when they connect to this shared or drive. The actual name of the or drive does not change.

5. To add a comment about the shared or drive, type the text in the Comment box.

6. To limit the number of people who can connect to the shared or drive at the same time, click Allow under User limit, and then type the number of users.

7. To set share permissions on the shared or drive, click Permissions.

Note To share folders and drives, you must be logged on as a member of any one of the following groups:

• Administrators

• Server Operators

• Power Users

8. Click OK.

Tags:, , , , , , , , , , , , , , , ,

Related posts

Written by Jason on July 9th, 2008 with no comments.
Read more articles on 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Contributors and Network and Security and Settings and Windows XP and computer and file sharing and folder and how to and ntfs and tools and windows.

Enabling Remote Desktop From XP to Vista

Control remotely over a network connection your Windows Vista or XP computer or the other way around. Get access to your Vista applications or data stored on a remote computer from your XP PC connected on your local network for example. Below is a quick video tutorial I created explaining how.



The steps are easy to follow, however if you prefer written instructions

1. On the Vista computer you want to connect to for example, click Start, right-click Computer, and then click Properties.

2. Make note of the Computer name if you do not know the IP address, then, under tasks, click Remote settings.

3. If all your computers are running Vista, click Allow connections only from computers running Remote Desktop with Network Level Authentication. If you have Windows XP that you want to use to connect to this computer, click Allow connections from computers running any version of Remote Desktop.

4. Click Select Users.

5. In the Select Users dialog, click the Add button. Type the name of the user you want to grant access to, and then click OK. Repeat this step to add more users.

6. Click OK twice.

Windows Vista will automatically open the necessary exception in Windows Firewall. Now, you are ready to use Remote Desktop to connect to the computer from another computer.


Watch PCWizKid's Video Tutorial


Other Tips Users have watched

Written by PCWizKid on February 8th, 2008 with comments disabled.
Read more articles on Microsoft Windows Vista and file sharing and network sharing and rdp and remote desktop connection and tutorial and windows xp vista powertoys tweakui tweak service pack 3.

Moving Files from Windows to Mac

When you make the switch from a Windows box to a Mac, you are going to need to copy all of your data files over to the Mac. The quickest way to do that is over a network. Yes, you can use “old school” media such as CDs, DVDs or USB thumb drives, but this is very tedious and will take forever. Networking the Windows and Mac machines is actually not very hard. It is not quite as straightforward as networking two Windows machines together, but if I can manage to do it on my second day using OS X, it can’t be too hard. (more…)

, , , , , , , , , , , , ,

Written by Jason on November 27th, 2007 with comments disabled.
Read more articles on Mac and basic networking and file sharing and folders and ip address and mac machines and mac os x and move files and networking windows and share files and share name and system preferences and windows and windows machine.