How To Prevent People Upload Unwanted .php File

Oct 22, 2007

I have a 777 cmod folder open. It needed to be writable so that legitimate users can upload their picture. However, i do not want people to upload .php or .php.pjepg etc to the server.

There are times that they do not use the form in my site to upload the php file. How can they do that? via perl command? And how to prevent such thing from happending?

View 8 Replies


ADVERTISEMENT

How To Prevent People From Leeching My Bandwidth

Feb 8, 2008

There are download links i've provided. I am afraid people might just directly link to them and steal my bandwidth.

How do I prevent it?

View 7 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

Apache :: How To Discover Which Php File Allows Malicious File Upload

Oct 10, 2014

i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.

i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but

how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything 

View 3 Replies View Related

PHP File Upload

Jun 8, 2009

I think I messed php config and I can't upload anything with php now
Dir is chmoded on 777 and File_Uploads = On in php.ini

I'm running lsphp5 with suhosin, when I try to import db via phpmyadmin I get error: Uploading is not allowed and when I try to upload some file via php script I can't

View 5 Replies View Related

Upload File

Jun 28, 2007

I have a forum ( VBulletin ) in admincp Upload file is ok and high,
For example .Zip file are max 3 Meg upload, but i want upload .Zip in thread, i can not upload over 1 Mb, and i view database error!

View 4 Replies View Related

Cannot Upload File

Apr 6, 2008

When I try to install ffmpeg, but it fail. The server cannot upload 1KB file from php.
$_FILES['xxx']['size'] return to 0
$_FILES['xxx']['tmp_name'] return to ''

Server: CentOS 5.x X86_64 Bit + Cpanel + Apache 1.3 + PHP 4.4.8...

Quote:

Originally Posted by php.ini

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30
max_input_time = 60
memory_limit = 64M

; Maximum size of POST data that PHP will accept.
post_max_size = 8M

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 50M

View 14 Replies View Related

Prevent PHP Files Used For File Uploading

Jul 3, 2009

It appears that some people like to take advantage of those files for online web applications such as Wordpress which have php files with permissions set to 777. They use those as a means of creating an upload file. The upload files that they create then have access to the whole server somehow... Is there anyway of preventing this from happening?

View 8 Replies View Related

File Upload Service?

Oct 10, 2009

does anyone know of a good free file upload/download service that allows the transfer of 1-3 GB?

View 10 Replies View Related

Can't Upload Any File Through CPanel

Dec 7, 2008

we can't upload any file in cPanel.

my users can upload files only with FTP.

how can i resolve the problem without send request to cPanel's support?

View 4 Replies View Related

File Upload - And Timeouts

Aug 17, 2008

I run a video script on my new server at leaseweb and had a lot of trouble with timeouts and IO Errors when uploading files to our site.

We tried changing a few settings making the environment as liberal as possible.

I changed max_input_time and max_execution_time in php.iniI also changed TimeOut in httpd.conf and made sure there is no LimitRequestBody in httpd.conf

The tmp directory should have enough space and is writable.

So the question is if these changes are not enough because we are still getting these errors.

Is there something we are missing. Or does Leaseweb have some invisible incoming bandwidth limit it slaps on its servers by default?

View 3 Replies View Related

Email And A File Upload Page

Nov 3, 2009

A few accounts that will probably hold a few gigabytes worth of data. I need each account to use IMAP and handle up to 5 customer service reps simultaneously accessing the same account via IMAP. * We tried this previously with Google for domains but were limited to 10 simultaneous connections via IMAP *

Website

Just a basic LAMP setup is fine and the mysql isn't even necessary. I will be hosting a basic form for hi-res photo uploading though so I need to have a pretty high timeout and memory limit for php.

As far as traffic on the site is concerned, I don't anticipate more than a handful of users on the site at a time.

My question is - do you think a good shared host in the $10 a month range could handle a project like this? Can you recommend one?

I can setup a VPS on Linode for $20 a month that I'm sure could handle this, but I'm not a server admin and don't want to risk managing sensitive data myself.

View 6 Replies View Related

Upload A .htaccess File In FTP And It Disappears

Feb 11, 2008

I upload a .htaccess file in FTP and it disappears, i checked with SHELL file is there but cant see in ftp ,

View 2 Replies View Related

Mod_security- Hacker Still Upload File..

Jan 18, 2007

I just have someone uploading file via php on a website, i need a way to block that kind of attack via mod security?

can add in mod security to avoid this?

89.146.147.144 - - [17/Jan/2007:12:24:11 -0600] "GET /favicon.ico HTTP/1.1" 404 1002 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
89.146.147.144 - - [17/Jan/2007:12:24:23 -0600] "GET /XXXX/index.php?x=************.***?&action=mkdir&chdir=/var/www/vhosts/XXXX.net/httpdocs/XXXX/&newdir=bh HTTP/1.1" 200 154634 [url]
x=************.***??" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
89.146.147.144 - - [17/Jan/2007:12:24:32 -0600] "GET /XXXX/index.php?x=************.***?&chdir=/var/www/vhosts/XXXX.net/httpdocs/XXXX/bh/ HTTP/1.1" 200 7444 [url
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
89.146.147.144 - - [17/Jan/2007:12:24:41 -0600] "GET /XXXX/index.php?x=************.***?&action=mkdir&chdir=/var/www/vhosts/XXXX.net/httpdocs/XXXX/bh/&newdir=************.*** HTTP/1.1" 200 8422 [url]
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"

View 4 Replies View Related

File Upload Security On XO - Built In

Jul 26, 2007

My website, a free classified ads site, is hosted by XO, the hosting company. I'm introducing a feature where advertisers can, for free, post pictures of the things that they're advertising -- that is, where advertisers can upload a JPEG or a GIF. I understand that this can open my site up to the uploading of malicious code, and that I should put safeguards in place to make sure that only JPEGs and GIFs get uploaded. However, I'm wondering if XO doesn't include some built-in safeguards that would keep malicious code from getting executed. In other words, since a profesional hosting company runs the servers -- not me -- do I need to be worried about security at all?

View 1 Replies View Related

What Would Prevent A File Being FTPed Immeidately And Showing Up On Website

Jan 29, 2007

I am trying to ftp some changes to my site. The strange thing is that while the FTP client (Filezilla) is accepting the new file, it will not show up on the new site. I've tried caching, refreshing browers, and rebooting but nada.

I then went back into my FTP client and checked the timestamp of the file being uploaded. For whatever reason, it will not show the most recent time of the file being uploaded, much less accept the most recent upload.

Here is a screenshot of what I mean.

View 3 Replies View Related

Plesk 11.x / Linux :: PHP Script Can't Upload File

Jun 4, 2014

All my PHP script can't upload file. I have tried to set CGI Application or FastCGI Application to my domain, but I can't resolve this issue.

View 6 Replies View Related

Plesk 12.x / Windows :: Max File Upload In PHPMyAdmin

Jul 10, 2015

I'm change “upload_max_filesize” & “post_max_size” in php.in but when i wanna import sql show me>>>(Max: 2,048MiB)

View 1 Replies View Related

Plesk 12.x / Linux :: Upload File Limit?

Jun 22, 2015

I have a big problem concerning the file upload limit (I need a large size, around 2Go) : I was using my app in /var/www/vhost/default and it was working perfectly, I decided to change it and use /var/www/vhost/mydomain.com to have it throught the plesk panel, and there I have an upload limit than I need to push. I can't upload files larger than 128Mo and I don't know why.

- I have checked all php.ini files (with locate php.ini) and they are all correct.
- I used plesk panel to set php conf -> done.
- I put :
php_value memory_limit 2000M
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
in my .htaccess in htdocs

[Code]....

I reload/restart apache2, psa, ... And it still doesn't work, I have no more idea every conf file seems correct. It's not a permission problem because I can upload some 80Mo files but not 500Mo ...

View 6 Replies View Related

Plesk 11.x / Windows :: Prevent Removing Files On File Manager

Jun 4, 2014

How Can I prevent users removing file web.config on FileManager?

I try set attribute read-only, but not effect.

View 4 Replies View Related

Moving Large File Storage, Upload/download To Amazon S3

Jul 24, 2007

I'm currently running on a VPS. My site allows for large file uploads and downloads, with files over 600mb in size.

The server has issues when the site gets three or more requests for large file downloads. I'm trying to grow this site to thousands of users and it is hard to do when the site can't handle even three.

I've been told by my host that I need to upgrade to dedicated. My VPS only has 512mb RAM and one large file download is eating up that RAM. This is causing the issue.

I'm a newbie and while I knew I was risking a bit by going with VPS I do find it a bit annoying that these guys advertise 1TB of bandwidth per month but I can't even support downloading 1GB at the same time....maybe it's just me...

Anyway, I am now looking into moving the large files and the upload/download over to Amazon S3. If I do this I am expecting my RAM usage on the VPS to greatly decrease. Is this correct? If my PHP code is running on the VPS, but the actual file download via HTTP is coming from S3, that should not be a heavy load on my box, correct?

any opinions on S3?

View 2 Replies View Related

Plesk 11.x / Linux :: Upload Bigger File Then 16MB Failed

Dec 23, 2014

I have 1 domain so i will use upload script on but there is some issue when i try and upload file.

I have upload 1 file so was 11MB &
1 file so was 6MB without problem.

And try with a file so was 17.46MB and this will not upload. It seems to me that it is a barrier for some space 16MB of uploading! Since that work and upload file so was 6 & 11MB but when I try and upload a file so is 17.46 or higher it stop.

Free Users can upload 100MB FREE
Premium: 1GB

I have set this in Plesk - PHP Settings

memory_limit: 1G
max_execution_time: 84600
max_input_time: 84600
post_max_size: 2G
upload_max_filesize: 2G

Also restart server after changing this. But still the same and can not upload bigger file then 16MB

View 2 Replies View Related

Plesk 12.x / Linux :: Can't Increase Phpmyadmin Max Upload / Import File Size

Jan 2, 2015

I'm running Plesk 12. I install it today, using the ISO which parallels provides, which includes centos 6.5 and preinstalled Plesk 12 in my vps. Then I logged in plesk, and I did everything it wants. Then I upgraded my php, to php 5.4.36 according to the manual that Paralells provides, and then I tried to increase the max upload file size for phpmyadmin. I have edited my /usr/local/psa/admin/conf/php.ini file and tried to restart using with 3 different ways using terminal:

1st: service sw-cp-server restart
2st: /etc/init.d/psa stop
/etc/init.d/psa start
3st: reboot (which rebooted all the vps)

My php.ini file is:

short_open_tag = On
y2k_compliance = Off
output_buffering = Off
max_execution_time = 600
max_input_time = 600
memory_limit = 256M
max_file_uploads = 99999
max_input_vars = 2000

[Code] ....

However, when I'm trying to import a 31mb sql file, I always get that error, and only some of my tables are being imported:

#1153 - Got a packet bigger than 'max_allowed_packet' bytes

View 2 Replies View Related

Plesk 11.x / Windows :: Internal Server Error 500.0 When Upload Database Backup File

Dec 23, 2014

I'm having a problem with Plesk Panel 11.0.9 update #64. All other page running perfect. But when I go to "Backup Manager --> Database Backup Repository --> Upload Backup File" then Plesk Panel show error: Internal Server Error 500.0.

On server, it show detail below: .....

View 2 Replies View Related

Plesk 11.x / Linux :: Upload Backup MSSQL Server File - Filemng Cp Failed

Mar 19, 2014

I'm trying to upload backup ms sql server file. But the Control panel tells me error: "Error: copy_file failed: filemng cp failed:"

View 4 Replies View Related

Unwanted Code In Index.html

Dec 4, 2008

I have multiple demo websites under single domain. and in each folder default page is as index.html

few days back i have observed a blank space on each index.html. when i check the code then i have found an auto generated code just after the body tag in index.html. the code is as follows

<div style="visibility:hidden"><iframe src="[url]

Also I am getting Question marks (?) in some blank spaces in HTML preview.

I have removed it but it again appears after some time. I have contacted to server support but they said that this is SQL Injection attack but there is no database connectivity involved in any of my websites.

View 12 Replies View Related

Clean Up Unwanted Files From /tmp And Mail Queue

May 26, 2008

How do i can perform

- Clean up unwanted files from /tmp
- Check and clean the mail queue
- Check /proc for hidden or unwanted processes


I will be thanking the person who can give in details how to perform each point in vps server and what's the steps or commands i should follow .

View 3 Replies View Related

Every Email Which Sends Outputs Unwanted Lines

Mar 19, 2008

Every email which gets automatically sent out from my server begins with:

Reply-To: noreply@MYDOMAIN.com

X-Mailer: PHP/4.4.7
Message-Id: <20080319210750.564111CEC004@mx.MYDOMAIN.com>
Date: Wed, 19 Mar 2008 22:07:50 +0100 (CET)

Dear DOMAIN.com Member,

This is not in our PHP code or anything, and I can't seem to remove it, its just a tad annoying. How do I remove it?

View 6 Replies View Related

Is It A Hacking Attempt.. Request Of Wierd Files Along With Unwanted SSL Handshake

Mar 30, 2009

I see following errors in my server ie. httpd error logs:

Code:
[Mon Mar 30 07:23:55 2009] [error] mod_ssl: SSL handshake failed (server localhost:443, client 79.132.204.192) (OpenSSL library error follows)
[Mon Mar 30 07:23:55 2009] [error] OpenSSL: error:1408F455:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
[Mon Mar 30 07:23:55 2009] [error] mod_ssl: SSL handshake failed (server localhost:443, client 60.63.241.18) (OpenSSL library error follows)
[Mon Mar 30 07:23:55 2009] [error] OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol [Hint: speaking not SSL to HTTPS port!?]
[Mon Mar 30 07:23:56 2009] [error] [client 114.224.169.0] File does not exist: /var/www/html/XRkVCfvCJ/GzTk/ChDbhf/-YSDDv/1Sch/2hfMMf/-M0DO/ACDEzXMEM/CYSkGFj/SGXtEUX0W/0KMV/RKJ2fTUDC/bFT/SX00/VtJVht/D1XvJBgHP/5lll.gif
[Mon Mar 30 08:46:42 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting
In last you can see that MySQL reached maximum allowed client ..and it crashed

Also, at regular intervals I see such requests:
/var/www/html/XRkVCfvCJ/GzTk/ChDbhf/-YSDDv/1Sch/2hfMMf/-M0DO/ACDEzXMEM/CYSkGFj/SGXtEUX0W/0KMV/RKJ2fTUDC/bF/SX00/VtJVht/D1XvJBgHP/5lll.gif

Also I see SSL handshake failure notices while I do not have any SSL cert or SSL running site on this server.

View 4 Replies View Related







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