Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

The tag has no usage guidance.

0
votes
0answers
7 views

Log folder permissions in Linux servers: Is it a good idea to use 0666?

Its a well known problem: When migrating or deploying systems often log folders are not writable because of permission problems. But giving 0777 on them can be a security problem in a production ...
2
votes
2answers
437 views

Can .htaccess be used to set file permissions?

Is it possible to define file type permissions through .htaccess? I have a site that uses .pl and .cgi scripts which require 0755 CHMOD. The shared server setting is apparently geared for WordPress ...
1
vote
1answer
38 views

what is the proper file permissions needed for certificate files

I am curious about what should be the file permission of the ssl certificate files. Because you really don't want anyone physically copying the server key, so why does the hosts make it readable to ...
1
vote
1answer
113 views

Can't include file with php due wrong permissions on local server

I have two computer I wish to work to create websites, one is an imac with osx 10.13.14 and the other is a ubuntu 16.04 that I use as server with Apache. I need to be able to edit files in both ...
1
vote
0answers
158 views

Set default file and folder permission for new files and folders - apache , ubuntu

I checked the file and folder permission of /var/www/html/ using stat -c '%A %a %n' * Folders : 775 Files: 664 drwxrwxr-x 775 includes -rw-rw-r-- 664 index.php -rw-rw-r-- 664 maintenance.html ...
0
votes
2answers
2k views

Why doesn't Apache allow access to files outside the web root --from within index.html?

As the title states.. I have the following organization to my project but am unable to access the related CSS and JavaScript files from within my HTML code --unless I create symbolic links from the ...
1
vote
2answers
52 views

Noob question - regarding images on webserver not loading when URL is typed, but do when clicked from link on index html

I have dabbled with html in the past and to a very small degree some CSS. All i am trying to do at this moment is have a website/webserver which stores one image. (The image will be retrieved by an ...
2
votes
1answer
228 views

Can uploaded files override Apache permissions?

I teach web development courses to liberal arts majors, and the web server (Ubuntu Apache) is located in my office. At the beginning of each semester, I create public_html directories for each of my ...
1
vote
1answer
32 views

Can access to Google Analytics with historical data be recovered after losing administrator access?

I have lost my administrative accessibility to my website under User Management in Google Analytics. I have discussed this with my webmaster, but he does not claim responsibility for it nor is he ...
4
votes
0answers
60 views

How I give Apache access to users vhosts and keep it secure?

I have 2 RHEL 7 servers running Apache 2.4 behind a load-balancer. Both connect to an NFS data store where web pages are held and both servers run ssh to allow users to put web data on them. The users ...
1
vote
0answers
22 views

Allocating Permissions for Users with Negative Reputation [closed]

A friend and myself are currently working on permissions for users with a negative reputation on our forum. If a specific user has a negative reputation, what are the drawbacks of not allowing him/her ...
1
vote
2answers
1k views

Can't edit files via FTP even though permissions are correct?

I'm generally new to this, but I have a server that I'm working on remotely. I'm connecting to it (Ubuntu Server 16.04) via SSH (vsftpd, to be specific) on my mac, but it wont let me edit files? I've ...
5
votes
2answers
1k views

File system permission for MediaWiki?

We are an open source project and we have an Apache web server with a MediaWiki 1.25. Its a stand alone installation, so we don't have the complications of shared hosting a varying userids. After 20 ...
2
votes
1answer
1k views

Cakephp 3 installation on Ubuntu doesn't have permission to access index.php

I have installed Cakephp on my ubuntu webserver (well copied it in var/www/html) following this tutorial https://askubuntu.com/questions/628938/how-to-install-cakephp-in-ubuntu-14-04 I am also using ...
0
votes
1answer
63 views

Why does Apache need write access to MediaWiki's LocalSettings.php?

We are trying to harden an Apache/MediaWiki/MySQL installation. According to MediaWiki's Manual:Securing database passwords: ... many Unix/Linux users can simply secure LocalSettings.php just by ...
2
votes
1answer
131 views

What file permissions should I set before I give website project folder to hosting service?

I am using a CMS called Jekyll to build a website. My understanding of jekyll at this point is that it helps me to generate static web pages by providing me a simple boilerplate for a website and ...
1
vote
2answers
357 views

best apache log file permissions on cpanel server

In an effort to protect my site from bad bots including ridiculous hackers that can login to the server, I want to secure access_log and error_log as much as possible without breaking apache or cpanel....
-1
votes
2answers
799 views

How to set execute-only permission for a php script in a .htaccess file?

I'm really a newbie in web-technologies, so this question may be silly. I have a php script that accesses a database, therefore it stores a database password (tell me a better way to store this ...
1
vote
0answers
531 views

Document root owner and privileges, Apache web server

I am configuring a website for public use. The document root is currently /var/www/html and the owner/group is root/root. So, I'm guessing that it would be best or at least better to change the ...
0
votes
1answer
1k views

How can I restrict access to JSON data such that users cannot access it directly with their browser, but the JavaScript can still get it?

I have a JSON file which is storing some information, and another JavaScript file which show those information on the page... How can I do something that visitors of my website can't see the JSON ...
1
vote
0answers
26 views

Can search permission be controlled with BlueSpice extension to MediaWiki?

The BlueSpice extension to MediaWiki introduces permissions control with the introduction of the Namespace manager administration tool. Each namespace can be set to be "Search by default" or not. ...
2
votes
1answer
36 views

What are the permissions required to edit page in a site in FrontPage 2003?

I'm in the process of upgrading an old web server from Windows 2003 with FrontPage Extensions to Windows 2008. I have to allow FrontPage 2003 to connect to the resulting website. I don't have the ...
0
votes
2answers
2k views

FTP 550 Permission Denied BUG?

I am having some problems with FTP using Sentora with CentOS 6.2 PROFTPD server installed by sentora (old zpanel). FTP account created by sentora panel with full privileges, the SSH transfers by ...
4
votes
1answer
685 views

How to allow MediaWiki non-users to only read some wiki pages related login and account creation?

I've created a BlueSpice MediaWiki site that I only want visible to users that are logged in. This works fine by creating Read permission only for Users as described here. All this works fine until ...
2
votes
1answer
500 views

How to create private BlueSpice for MediaWiki website?

I am creating a private wiki that should only be visible to users that sign in. We are using MediaWiki with the BlueSpice extension. Thus far, I found that by default "read" access is provided to ...
2
votes
2answers
68 views

Is it enough to get permission by e-mail to show customer case study on website?

I want to publish some case studies from my customers on my website. Each case study will have real numbers about website traffic. I will also publish website screenshot. Do you think it is enough to ...
1
vote
1answer
1k views

EC2 Folder Permissions on Amazon AWS

This is first time I am setting up my Wordpress blog myself. Usually, I would purchase a GoDaddy account and be done with it. Now, I have bought a Amazon AWS and setting up on EC2. I have finished my ...
5
votes
1answer
295 views

Is there a permission in MediaWiki to allow a user to edit discussions but not pages?

Is there a permission in MediaWiki that allows a user to edit a discussion but not a page? That would enable anyone to, say, express a view, but only certain users (e.g. those with a confirmed email) ...
1
vote
1answer
63 views

Best CMS for single user editable pages? [closed]

I've already found this older thread with the same quastion, but using Wordpress is not an option: CMS for single user-editable pages? Does anybody knows a CMS or some other piece of software which ...
0
votes
1answer
835 views

Grant Permission to File Folder

I am making a website, and I want the users to be able to access a file folder. I have a link to a folder. When I do this locally, all works fine. But when I upload it to my site, I get: Forbidden ...
1
vote
2answers
885 views

WAMP VirtualHost 403

I recently installed WAMP, and started developing on its Apache server. Given that my text editor (Sublime) didn't have permissions to write on C disk directly, I changed my default DocumentRoot to My ...
2
votes
2answers
1k views

Permissions suddenly changed to '00' on sites images directory

A client's site images directory permissions have suddenly changed to 00. This means no one can access the directories content; not even the browsers. I cannot access the directory or change its ...
1
vote
1answer
281 views

Files synced via dropbox cannot be served with IIS because of file permissions

I'm running into the problem of using Dropbox and IIS. I am using the Dropbox Folder Sync plugin to sync a folder outside the Dropbox folder. They are synced into my inetpub\root\downloads\ ...
2
votes
8answers
3k views

What should the Unix file system permissions be for PHP files under Apache?

What is the best practice for permissions with PHP files? When should they be writable, or executable? What owner is best? I'm using an Apache server.