Threat of Session Hijacking and Steps to Prevent Them

January 17, 2018 - 15:06

Session hijacking is mimicking a different person by using that person’s session id. That is, if person A gets the session cookie information of person B and A stores that cookie in his web browser manually (similar to how B has stored the cookie in his browser). Then A can get the same access as that of B if that session file is present in the server. This is called session hijacking.

What is Secure Copy and How it is used in Ubuntu?

August 14, 2015 - 20:18

Secure Copy (scp) allows files to be copied between, to or from different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. It has some exit status, 0 on success, and if an error occurs it uses >0. I used some scp options in my Ubuntu terminal. Here I am sharing some information about scp options that are used in Ubuntu - terminal.

How to use getfacl and setfacl to get and set access control lists (ACLs) on directories in Linux

The command "setfacl" refers to Set File Access Control Lists and "getfacl" refers to Get File Access Control List. Each file and directory in a Linux filesystem is created with a specific set of file permissions for its access. Each user can have different set of file access permissions. The permissions can be set using the setfacl utility. In order to know the access permissions of a file or directory we use getfacl. The getfacl command displays the access permissions of files and directories with file name, owner, group and the ACL's(Access Control List). When we create a directory it is created with a default set of access permissions and by using getfacl we will be able to see the access rights.