Ubuntu Servers :: PWD Protect Directory Containing Website

Jul 8, 2011

My brother and I currently use a shared server, we both connect via SSH. I store files (via SFTP) on it as I only normally use a laptop. He uses to host his own personal files and also a public website promoting his photography business. I am interested in cryptography and security and have restricted our SSH connections to require keys and use encfs to encrypt my personal folder. Comments on this are welcome.

I am struggling to work out how to protect his home folder without preventing access to his site. Normal methods prevent access entirely or require the web browser to enter a password (no good for promotion). I would like to prevent both alien users and myself from accessing his home folder but still allow his website to be functional from within this area of restricted access. Both the site and his personal files need to be protected.

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache/PHP Set Root Directory Of Website?

Nov 27, 2010

In my website, I'm putting shared files in a "/global" folder. Both "styles.css" and "library.php" are in this global folder. HTML code seems to be working ok - the following bit works great to pick up a style sheet:

Code:
<link rel="stylesheet" type="text/css" href="/global/styles.css" /> However PHP does not seem to understand my root directory. Using the following does not work:
Code:
include_once("/global/library.php");

I receive a "failed to open stream: No such file or directory" error.Spelling out the entire full path works, like so:

Code:
include_once("/srv/www/mysite/global/library.php");

But this type of code is no good as I may change servers in the future. I have my "DocumentRoot" set correctly in my sites-available file. It seems as if PHP is ignoring it. Is there a config file someplace (htaccess? Local php.ini?) where I should update my root directory for this site only? Or am I following bad form and there's a better way to do this? Relative paths don't seem like the answer here though...

View 5 Replies View Related

Ubuntu Servers :: LAMP Installed > Need To Change Website Directory?

Jun 13, 2010

I just installed LAMP on ubuntu 10.04using this method:ow i want to change the directory where my websites are; default is "/var/www" right. I have a partition using NTSF file system where i have a folder with all my websites. Can i configure LAMP to use this folder?

View 9 Replies View Related

Server :: How To Protect Website From Such Attach And Similar

Jan 19, 2011

Today I've found several attempt to access the following url on my website: [URL] After googleing a bit it seems that in some cases, using this attack, the bag guy is able to change the code in some of your files. it also seems to affect only a certain version of oScommerce. I don't use oScommerce, so I do believe that I'm on the safe side, but it's not the first time that I see some similar attempt of attack on my website. So to protect my self I was wondering if using .htaccess restriction would be enough?

Code:

########## Begin - Rewrite rules to block out some common exploits
#
RewriteEngine on
Options +FollowSymLinks

[code]....

But I do think that these rewrite string are more specificity write to protect oScommerce site. how to protect my web site from such attach and similar?

View 5 Replies View Related

Fedora Security :: Trying To Password Protect Directory

Apr 1, 2010

I create music and usually gets sold world wide. I have some distributors that have been able to access a private server and get the new tunes I make to download via ftp. Well that server is getting full and I was trying to create another directory on my website itself.I created the directory. made the ".htaccess" file. Then I tried to make the htpasswd file but my server just keeps saying no command by that name.

View 8 Replies View Related

Server :: Password Protect A Folder In Www Directory?

Apr 10, 2010

Im running apache2 on a debian webserver and i was wondering how i can password protect a folder in my www directory when someone try to access it from the web.

View 1 Replies View Related

Ubuntu :: Couldn't Boot - This Directory Has Been Unmounted To Protect Your Data

Feb 14, 2011

I had issues on my last install , I couldn't boot into it cause I accidentally uninstalled python 2.6 and everything it was attached to. So I reinstalled on a separate hard drive, I can see my other file system from the media folder but the only thing in my home dir is these 2 files 1 read me that says

PHP Code:

THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on:

or

From the command line, run:

And then this file

Access-Your-Private-Data.desktop

But when I click it and try to run it I get this error

PHP Code:

View 6 Replies View Related

Ubuntu Servers :: Protect A Folder In My VPS?

Jun 28, 2011

I want to protect one of the folders in my VPS which is running under Ubuntu server 10.04 LTS I've tried doing this using .htaccess and I am being prompted for a user name and a password but when i enter the user name and the password I get the same window again but I am sure that I am entering the correct information. this is the .htaccess file code...

this file is located in the same folder that I want to protect. code...

View 1 Replies View Related

Ubuntu Servers :: Apache2 - Password Protect Directories With System User

Apr 12, 2011

I want to password protect say a subdirectory, or a subdomain via vhost, with a username/password, but use the systems users and passwords as logins -> I want go avoid any and all .htaccess... as everyone should be doing anyway How would I go about doing this? I know my way around the apache configs fairly well, so I'm not a total newb -> I now I can use .useraccess and .pwaccess but that's flat file driven, not based off of the systems users/passwords.

View 1 Replies View Related

Ubuntu :: Recovering Data - This Directory Has Been Unmounted To Protect Your Data

Jun 3, 2010

Ubuntu 9.10 64bit. Acer Laptop

Using ubuntu 9.10 cd to access laptops hard drive.

foun readme file in /media/disk/mark

opened with openoffice. THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on: "Access Your Private Data"

or

From the command line, run: $ ecryptfs-mount-private

So I tried a couple of ways...

View 9 Replies View Related

Slackware :: Download A Whole Directory From A Website?

Nov 16, 2010

I'm wondering the way to download a whole directory from a website (in example [URL] to my hard drive.

View 3 Replies View Related

General :: Download A Whole Directory From A Website?

Mar 29, 2009

Hey how do I download a whole directory from a website?

View 3 Replies View Related

Ubuntu Servers :: How To Get Website Available On LAN And Internet

Feb 12, 2010

I am running ubuntu server in a virtual environment (vmware) and have setup apache and got mediawiki up and running which I can access on host machine by going to 172.16.170.130. But this is only available on my host machine and not elsewhere on the network. How do I make it available to others on LAN and eventually on the internet (associated with my host IP address?)

View 3 Replies View Related

Ubuntu Servers :: Run Ssh Commands Though PHP On Website?

Nov 2, 2010

I'm trying to run ssh commands though PHP on my website. I found this tutorial for it: [URL] I've got a few problems here, when I do "apt-get install openssl-dev" I get this output:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package openssl-dev

[Code].....

View 7 Replies View Related

Ubuntu Servers :: Website Only Works When SSH?

Jun 15, 2011

My ISP provided me with a static IP and I went and bought a domain name with godaddy.com. The issue I'm having now is that I am getting a 403 forbidden error (You don't have permission to access / on this server). The strange part is that when I ssh into my server, and try to go to my website, everything works fine

View 5 Replies View Related

Ubuntu Servers :: Website Won't Work?

Jul 30, 2011

I was with hostgator before that provided cPanel and i "believe" they used CentOS.Now that i have moved to a different host, unmanaged, i installed copy of ubuntu 10.04 LTS 32 bit.the website is www.terwax.com.I have to put files under /var/www. So i put all the files there, including index.html (a file of joomla), but if you see the website yourself, it shows up blank page with some weird stuf

View 9 Replies View Related

Ubuntu Servers :: Using Apt For Updating From A Local Directory And Samba Shared Directory

Jul 9, 2010

I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.

View 1 Replies View Related

Ubuntu Servers :: Install An IRC Server On Website?

Jan 4, 2010

I'd like to install an IRC server on my website (it's hosted on another server location).I can log into the server side of things but am not sure how much control I have of installing applications. I'd like an IRC that's easy to install and easy to set-up. I logged into the cPanel page of the site and found this "general server information":

Operating system: Linux
Kernel version: 2.6.9-78.0.22.EL
Machine type: i686
Apache version: 1.3.41 (Unix)

[code]....

Unfortunately there's not an IRCd/server type of application available on the "Fantistico Deluxe" application installer feature.

View 9 Replies View Related

Ubuntu Servers :: Create New Page On Website?

Feb 14, 2010

I am using apache web server for my website. I have the main page up and I want to create another page. For example, I want to have "thisiswhatiwant" being the page I want to add

View 1 Replies View Related

Ubuntu Servers :: Get My Website Connected To Server?

Feb 25, 2010

So I gave up on the mail server Idea as that was too much of a headache.

So I was wondering as I have registered waloshin.com with godaddy.com how can I get an apache hosted website to appear on that domain from my server?

Do I have to configure BIND9 to do so?

While going to http://whatismyipaddress.com/ it does say that my ip address is static: Assignment:Static IP

View 9 Replies View Related

Ubuntu Servers :: Monitor Website Bandwidth Used?

Mar 27, 2010

I am hosting some websites and i want to monitor who is using more resources from a thoughput standpoint... Would this be bandwidth monitoring. can use to monitor these sites. I am using an uptodate version of apache2 and a single ip vhost setup.

View 9 Replies View Related

Ubuntu Servers :: Using Vsftp And Apache2 For Website?

Jun 19, 2010

I recently put a new install of Ubuntu 10.04 Server on an old dell I had sitting around the house with the intention of using it as an all purpose server machine (website, teamspeak, ftp, storage, etc.). I am running apache2 for the web server and want to use vsftpd to edit the website contents through FTP. The issue I am running into is that vsftp doesn't have permissions to write /var/www/ which is the default website directory. The flip-side issue is that apache2 doesn't have permission to access the /home/user/ directory which vsftp has permissions to write.

Because I am only interested in running a single website (no virtual machines/no extra IPs) fixing either apache2 permission or vsftpd permissions would fix the problem.Changing DocumentRoot to /home/user/ will make apache2 point to the new directory but I get a 403 error. I have no idea how to change application permissions.I need to use to give permissions for vsftp to write /var/www/ (vsftpd.conf is configured to allow write in home directory) OR the command I need to give permissions for apache2 to access /home/user/? I assume it is a chmod command but I have never used this and don't know what the permission codes (777, etc.) do in terms of giving me the necessary andsufficient app permissions. I don't want to give the app. too much access and risk creating some security flaw.Here are my vsftpd.conf, default (website config file) and apache2.conf.apache2.conf

Code:
#
# Based upon the NCSA server configuration files originally by Rob McCool.

[code]...

View 3 Replies View Related

Ubuntu Servers :: Anyone Can Install Ssl Certificate To My Website?

Sep 10, 2010

i just bought ssl certificate for my website but i really like huh? how to install it no idea!

View 1 Replies View Related

Ubuntu Servers :: Can't Access Website Over Internet

Oct 8, 2010

I have ubuntu 10.04 running LAMP and proftpd, I can access over LAN but not when I type my domain name in. I have forwarded all necessary port to to the local ip of that box, added rules to ufw to allow traffic on those specific ports. I use dyndns for a second level domain and have used all their tools to check whether the ports are open and have the results I am looking for.

View 7 Replies View Related

Ubuntu Servers :: Website Doesn't Work With Www

Nov 27, 2010

I have added a domain to my new vps account but i notice that the website doesn't work with www so how can i redirect www.example.com to example.com. (bind9, apache2, webmin, ubuntu server 10.04 lts)

View 9 Replies View Related

Ubuntu Servers :: Using 2 Computers To Host 1 Website?

Dec 23, 2010

how do i use 2 computers to host 1 website? i have one of them running fine, and i just got the other one to use as well. one of them is completely configured without any problems(I have been hosing a website for about 2 strait years with it).also, I have a dynamic IP because the idiot ISP's wont give me a static. I am using Dyn DNS.

View 5 Replies View Related

Ubuntu Servers :: Multi Ip With Mutli Website?

Jan 16, 2011

I rent a server with 7 ip given. And i also want to host 7 website with 7 domain name in itI wish to assign each website with an ip address. is it possible to do that ?When I do

<VirtualHost 192.1.1.123:80>
<VirtualHost 192.1.1.124:80>
<VirtualHost 192.1.1.125:80>

View 1 Replies View Related

Ubuntu Servers :: Can't Seem To View Server Website

Feb 9, 2011

when i type localhost i can see the page, when i type 127.0.0.1 i can see the page, when i type 192.168.0.30 i can view the page when i type the websitename.dyndns.info i can't seem to view the page or when i type 96.24.144.216 can't see the page.

View 9 Replies View Related

Ubuntu Servers :: Connect Mysql With Website?

Mar 15, 2011

I have a webhost payed and i want to connect it with my server database. It shows me this error on the website : Lost connection to MySQL server at 'reading initial communication packet', system error: 110

I tryed to open port 22...noone of sollution work to me.or someone who's good on that???

View 6 Replies View Related

Ubuntu Servers :: Get Website To Work On Internet?

Jul 17, 2011

I finally got my apache web server up and running and tested it using local host. I was wondering how I can create a domain name now and get this accessible on the internet

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved