May, 2014 : Understanding Web Server File Permissions


📅 - If you are new to web hosting, one topic that may be a bit of a challenge for you is web server file permissions. Anything you upload to your site will have a set of permissions associated with it. In the examples that follow, we will focus on Linux/Unix file permissions since the web server you use will most likely run on that type of operating system. Generally speaking, however, the same concepts would apply to any OS, although the methods and permission types may vary.

Ownership

Ownership tells the file system who can access, edit and/or run a file. On Unix-like file systems, a file will have an owner and group associated with it. For example, if leonard, who belongs to a group called nerds, owns a directory called penny, the ownership might look like this:

drwx------ 2 leonard nerds 4096 Mar 19 2012 penny

Depending on the permissions associated with it, leonard and possibly the nerds as well will have access to penny.

With Apache HTTP Server, files may be owned by the user or the web server (sometimes called httpd, apache, www or even nobody). Some server side scripts may require one or the other.

Permissions

Using the above example, the first letters “drwx” indicate the permissions for penny. First of all, the “d” indicates that it is a directory. The “r”, “w” and “x” mean that leonard can read, write and execute penny. The dashes after it mean that neither the nerds nor anyone else in the world have access to it.

If the file instead had drwxrwxr-x, it would mean that leonard and all the nerds can read, write and execute, and anyone in the world can read and execute but not write. These three permission holders: Owner, Group and World form the basis of all Linux and Unix file permissions.

For more information about permissions and how to use them with your web server, you can view this tutorial at Linux.com.

Reads: 1961 | Category: General | Source: TheHN : The Hosting News

Want to add a website news or press release ? Just do it, it's free! Use add web hosting news!

Other news


📅 - Net Neutrality Debate Continues to Raise Concerns - The Federal Communications Commission's (FCC) latest proposal opens the door for broadband providers to charge websites for faster service, thus ending the Internet as we know it. The move could end open Internet access and has the potential to privatize the Internet into a public utility like system.
Tech expert Karl Volkman of SRV Network explains, “Net neutrality is a heated debate for both sides. Those in favor are concerned that without net neutrality, costs will skyrocket for everyone and large companies will have unfair advantages. While those opposing net neutrality worry about overreaching government control and unfair pricing.”
Volkman continues “Granted that most businesses who ...
📅 - HostingCon Launches Enhanced Networking Opportunities for Event Attendees - Attendees at the 10th annual HostingCon, the premier industry conference and trade show for hosting and cloud providers, have a new option to enhance their networking opportunities before arriving to the event.
The new networking system is known as HostingCon Connect2Meet. It takes the event's popular HostingCon Connect feature to the next level. The service allows full conference attendees to reserve semi-private table space to hold meetings at HostingCon. Throughout the 3-day event, attendees will be able to reserve meeting space in the exhibit hall's networking lounge and in a semi-private meeting room adjacent to the educational sessions to review presentations, discuss potential ...
rackspace.co.uk📅 - Rackspace UK Placed 6th in ‘Best Place to Work’ List - Rackspace® Hosting (NYSE: RAX) has been named the 6th ‘best place to work' in the UK in the ‘Large' company category of the 2014 Great Place to Work Awards. In addition to being placed sixth on the list, Rackspace was given the further accolade of ‘Master Status', an honour only given to companies who have been on the Great Place to Work Awards list for ten consecutive years running.

The awards ceremony was held at London's The Brewery hotel in an event run by the Great Place to Work® Institute. This year's listing is further evidence of Rackspace's personal commitment to its employees, called Rackers, and to the firm's goal of creating the best working environment possible.
“I am so ...
📅 - Compass Datacenters Completes $100 Million Round of Funding - Compass Datacenters has completed a new round of capital raising to support the company's expansion into additional geographic markets and to fund new data center construction projects for customers. This new capital consists of $35 million in additional equity commitments and $65 million in additional capacity under Compass' now $110 million revolving credit facility. The additional equity is provided by the original investors from Compass' prior round of funding, and the additional capacity under the revolving line of credit has been provided through a syndication of the credit facility by KeyBank, NA, bringing Regions Bank and Raymond James into the facility. The revolving line of ...
📅 - Atos to acquire Bull to create a European global leader in Cloud, Cybersecurity, and Big Data - Atos, an international information technology services company, and Bull, the trusted partner for enterprise data, together announced today the intended public offer in cash by Atos for all the issued and outstanding shares in the capital of Bull.
Atos offer is set at €4.90 per Bull's share in cash, representing a 22% premium over the Bull's closing price (€4.01) on Friday May 23rd, 2014, the last trading day before this announcement, and a 30% premium with respect to the 3 month volume weighted average share price (€3.77).The offer will also target the outstanding Bull's OCEANEs at €5.55 per OCEANEs.
The offer values the fully diluted share capital of Bull Group at approximately €620 ...
📅 - SpamExperts Teams Up with Industry Partners for Service Provider Packages at HostingCon 2014 - SpamExperts, Platinum Sponsor at HostingCon 2014, being held June 16 – 18, at the Miami Beach Convention Center, is proud to announce another innovative give-away package at HostingCon 2014. HostingCon is the premier industry gathering and trade show for hosting and cloud providers in the USA and will be celebrating its 10th anniversary.
SpamExperts has joined with BobCares, CloudLinux, Comodo, eBridge Marketing Solutions, Open-Xchange and Reseller Club, each participating with separate complimentary service offerings to complete an exclusively created give-away package.
The prize will consist of a Premium Service Provider Package Valued at $ 40,000 meant to enhance the winner's business ...