We are developing a network application based on C/S, in this application the server needs to transfer files to clients and sometimes receive files from clients. So in the server application, for every client it needs to create a control socket and many transfer sockets.
My question is how we can create and define a socket as role of control socket or transfer socket?
I'm running a sandboxed application as a local user. I now want to deny almost all file system permissions for this user to secure the system, except for a few working folders and some system DLLs (I'll call this set of files & directories X below).
The sandbox user is not in any group. So it shouldn't have any permissions, right?
I've got a development Ubuntu system for which I have several users: myself (with full sudo) and about 5 other users. (I've set up the system so everything in this respect is still at its default setting)
I'm trying to set the system up so that multiple people can collaborate in a single directory by using grouing and I want the default permissions to be 664.
A user on a Windows 7 Pro PC in a Windows 2003 network can access all her files, except for a few on her desktop (which is stored in a network share), which have their icon semi-transparent with a cross. Other files on the desktop can be accessed normally.
Permissions on the server seem alright: she is the owner of all the desktop files and has full control.