Is it possible to setup ftp accounts that have the ability for the users to view files on the server and upload their own files, but not download anything from the server? If so, how would this be done, if not, then as a 2nd option, do most hosting companies provide the option to disallow downloads on an ftp account if you need to do so, but allow uploads?
I've recently hired a new server with the aim of offering FTP backups.
I have Plesk CP but I don't want to use that to create the accounts for these users - i want to use the Plesk license for webhosting customers.
My box is running CentOS with ProFTPd.
The problem i'm having, is locking down SSH access to the Backup customers - if i add an account using "useradd", it is enabled in ProFTPd as I want, and I have set ProFTPd to only allow access to their home dir. However, the users can still log in via SSH and have full access to the box. Ideally, I want to be able to remove these users from SSH access, or if that's not easily possible, not allow them to "cd" above their home dir.
I know it's possible to add their usernames to the SSHd config file under Deny, but is there a more elegant solution (bearing in mind i'm planning to have quite a few of these users)?
I have a VPS with 256MB ram. i want to limit mysql memory access. suppose i want that mysql should not use more than 128MB ram. is this possible? if yes how?
what are all the different types of websites? i know there's e-commerce, forums, blogs, personal and etc. what are some other types of websites people start?
I cannot find a suitable forum for this query so here goes on this one!
I am doing a charity site as a voluntary exercise. They currently host with Eclipse who have the Zeus server (site developed in Frontpage).
This is not an open source server. Thing is, what are the issues of say developing on my loacal machine (apache or IIS5) and having the remote being Zeus. I use Dreamweaver 8 for developing.
I would of thought this does not matter as the server technology is transparent and down to configuration files. The directory structure both ends can be the same.
The issue I'm having is that mod_deflate is compressing binary data, outputted from PHP scripts as well (undesirable).
The script sends a Content-Type: application/octet-stream header, so I'm guessing that mod_deflate is simply not looking at headers generated by the script before compressing output.
I've even changed the default MIME type for Apache to application/octet-stream but to no avail.
Note that static content which has a defined MIME type doesn't get compressed - it's only the output generated by scripts.
Also, there is no defined MIME type for the .php extension.
I've also tried to disable the filter for certain directories, however, Apache doesn't seem to have an opposite to AddOutputFilterByType (although it does for AddOutputFilter (RemoveOutputFilter)). Also, I can't seem to stick in a negative <Directory> command either, which is a pain :/
i run an Internet radio station, and my current web host doesn't support the MIME Types i need for people to be able to click on the links to listen to it
so im looking for a new web host with cpanel preferably. and supports these MIME Types
I'm running plesk 11.5.30 and I'm having an issue with the new word doc format (.docx) being recognized as a zip file. I've read several posts that explain what mime types to add, and I've found the spot where I need to enter them. The part I'm not sure about is whether the custom mime types field is an addition to the current mime types or a replacement list. Does that field just needs the new mime types or a full list?
I have a vps at VPSVille, which I use for tunneling out onto the internet (behind a nazi firewall). Unfortunately, my vps keeps getting disabled because I cross the "20GB of traffic per month" allowed to any vps for tunneling - even though I have 300 GBs of bandwidth.
I'm now looking for another cheap vps host ($20/mo or less) that will let me utilize all the bandwidth I paid for.
I am just playing around with a server of mine, and I wanted to know is there anyway to limit the amount of inodes ( files and folders) a user can have? I am using cpanel/whm. Or is there a way I can receive an " alert" once a user has reached the specified limit?
bandwidth limiting on my home network, to some specified pc's, as they are taking up to much download bandwidth. Im leaning towards windows more but i am still unsure, would any one be able to guide me or give me a few tips on what type of program will do this, what operating system and maybe some tutorials if anyone knows any good ones?
On an cPanel + RHEL 5.3 box at WHM - Tweak Settings, I activated "The maximum each domain can send out per hour (0 is unlimited)" and set that value to "300".
But, it seems that this limit is only if the user is sending using webmail or an email client, right now a joomla website is sending much more than 300 mails per hour, but it's using php to send the mails.
My question, how can I limit emails per hour on each domain while sending from php?
We have Linux and windows shared hosting on our dedicated servers using Plesk are we are interested in putting in connection limits and bandwidth limiting in place but not sure what to use - we don't want to set them to be too restrictive but we don't want it to be free reign either.
I was wondering if anyone else was doing this, and if so what their levels were. Additionally, does anyone use anything for IIS 6 on 2003 that supports bandwidth throttling of dynamic content? I know there are things for IIS 7 in 2008 but that doesn't help much
I've been searching a while for a box that I can throw in front of my servers that will basically look at inbound connections and if there are more than X amount of connections from IP:XXX it will block it for X minutes.
I thought a standard load balancer would do it, but according to Barracuda, their load balancers don't. They do DDOS prevention, but that's based on packet inspection. What I'm looking for is something that will block legitimate traffic when there's just been too much in a short amount of time. Basically I've got people using autosurfing programs and refreshers on my site and I'm getting tired of analyzing log files to find them.
I am interested in setup user activity limits to avoid peaks on the server load, I have readen a lot about PAM and limits.conf but still have no idea on how set this limits. Most of the examples are similar to this page http://www.seifried.org/lasg/users/ but they are still confusing to me
>> I would like to setup rules like this:
Customers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 CPU seconds, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory.
I may have this wrong, but I think it's possible. I have a friend who wants to run a process on one of my servers, now I don't particularly 'care' about this server, it's just used for a couple of unimportant things so I'm okay with him running it, but I don't want the hassle of sorting out things if he decides to delete everything, so I'm hoping it's possible to limit his directory.
For example, I have the folder "people" in the top most directory, inside that I have "arthur", I want to limit the ssh user "arthur" to the folder "arthur", I don't want him to be able to cd ../../ and delete stuff, is this possible?
I have got 2 low budget dedicated servers from poundhost,I would like to find a way to limit their total monthly bandwith to 5TB so that I dont get past this limit even if the server stays for 1 day with blocked traffic or else! The one server is cent os 5 and the other is windows server.
how can we limit the maximum number of e-mails that can be sent by a domain in PLesk. We are facing issues where out server IP is getting blocked by some e-mail providers for bulk mailing.
I've been unable to limit the size of a process to keep it from hosing a system. I've tried the following methods:
- RLimitMEM for just Apache (although I'd like this to apply to any process in the system) - ulimit - PAM limits.conf (/etc/security/limits.conf)
In theory, either ulimit or limits.conf should do the trick, but when I start up Apache and run a test script to build up some memory, it doesn't get killed off. Is there any way to do what I want? I'll even take kernel modification as an option. We're running CentOS 4.4, but I don't have a problem with swapping out for another kernel.